{"id":16105735,"url":"https://github.com/iambedant/android-mvi-sample-app.","last_synced_at":"2025-03-18T08:31:51.445Z","repository":{"id":76875796,"uuid":"133932602","full_name":"iamBedant/Android-Mvi-sample-app.","owner":"iamBedant","description":"Android Mvi sample App(Kotlin, Rxjava, Dagger2, Retrofit, Architecture component, Viewmodel, LiveData)","archived":false,"fork":false,"pushed_at":"2018-05-21T09:55:31.000Z","size":143,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-15T06:52:44.866Z","etag":null,"topics":["android","android-architecture","android-architecture-components","dagger2","kotlin","livedata","model-view-intent","mvi","retrofit2","rxandroid","viewmodel"],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iamBedant.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-05-18T09:22:43.000Z","updated_at":"2019-11-02T14:34:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"eb4914c9-3221-434b-9b6a-7f52bbd5dad7","html_url":"https://github.com/iamBedant/Android-Mvi-sample-app.","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamBedant%2FAndroid-Mvi-sample-app.","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamBedant%2FAndroid-Mvi-sample-app./tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamBedant%2FAndroid-Mvi-sample-app./releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamBedant%2FAndroid-Mvi-sample-app./manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iamBedant","download_url":"https://codeload.github.com/iamBedant/Android-Mvi-sample-app./tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243910749,"owners_count":20367545,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","android-architecture","android-architecture-components","dagger2","kotlin","livedata","model-view-intent","mvi","retrofit2","rxandroid","viewmodel"],"created_at":"2024-10-09T19:10:27.670Z","updated_at":"2025-03-18T08:31:51.432Z","avatar_url":"https://github.com/iamBedant.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Android-Mvi-sample-app.\nAndroid sample app (Model-View-Intent Architecture) written in Kotlin \n\n## Description\n### Library Used\n* Retrofit\n* Dagger 2\n* RxAndroid\n* Android Architecture component\n\n### Api response\nHere is a sample Api response.\n```json\n{\n  \"variants\": {\n    \"variant_groups\": [\n      {\n        \"group_id\": \"1\",\n        \"name\": \"Crust\",\n        \"variations\": [\n          {\n            \"name\": \"Thin\",\n            \"price\": 0,\n            \"default\": 1,\n            \"id\": \"1\",\n            \"inStock\": 1\n          },\n          {\n            \"name\": \"Thick\",\n            \"price\": 0,\n            \"default\": 0,\n            \"id\": \"2\",\n            \"inStock\": 1,\n            \"isVeg\": 1\n          },\n          {\n            \"name\": \"Cheese burst\",\n            \"price\": 100,\n            \"default\": 0,\n            \"id\": \"3\",\n            \"inStock\": 1,\n            \"isVeg\": 1\n          }\n        ]\n      },\n      {\n        \"group_id\": \"2\",\n        \"name\": \"Size\",\n        \"variations\": [\n          {\n            \"name\": \"Small\",\n            \"price\": 0,\n            \"default\": 1,\n            \"id\": \"10\",\n            \"inStock\": 1,\n            \"isVeg\": 0\n          },\n          {\n            \"name\": \"Medium\",\n            \"price\": 100,\n            \"default\": 0,\n            \"id\": \"11\",\n            \"inStock\": 1,\n            \"isVeg\": 1\n          },\n          {\n            \"name\": \":Large\",\n            \"price\": 200,\n            \"default\": 0,\n            \"id\": \"12\",\n            \"inStock\": 1,\n            \"isVeg\": 0\n          }\n        ]\n      },\n      {\n        \"group_id\": \"3\",\n        \"name\": \"Sauce\",\n        \"variations\": [\n          {\n            \"name\": \"Manchurian\",\n            \"price\": 20,\n            \"default\": 0,\n            \"id\": \"20\",\n            \"inStock\": 1,\n            \"isVeg\": 0\n          },\n          {\n            \"name\": \"Tomato\",\n            \"price\": 20,\n            \"default\": 0,\n            \"id\": \"21\",\n            \"inStock\": 1,\n            \"isVeg\": 1\n          },\n          {\n            \"name\": \"Mustard\",\n            \"price\": 20,\n            \"default\": 0,\n            \"id\": \"22\",\n            \"inStock\": 1,\n            \"isVeg\": 0\n          }\n        ]\n      }\n    ],\n    \"exclude_list\": [\n      [\n        {\n          \"group_id\": \"1\",\n          \"variation_id\": \"3\"\n        },\n        {\n          \"group_id\": \"2\",\n          \"variation_id\": \"10\"\n        }\n      ],\n      [\n        {\n          \"group_id\": \"2\",\n          \"variation_id\": \"10\"\n        },\n        {\n          \"group_id\": \"3\",\n          \"variation_id\": \"22\"\n        }\n      ]\n    ]\n  }\n}\n```\n\n### ToDo\nFigure out a way to solve state re-rendering on each view state problem. If you have a good solution, please submit a PR.\n\n* https://www.reddit.com/r/androiddev/comments/7mb3r1/dealing_with_redundant_state_rendering_when_using/\n \n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiambedant%2Fandroid-mvi-sample-app.","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiambedant%2Fandroid-mvi-sample-app.","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiambedant%2Fandroid-mvi-sample-app./lists"}