{"id":18536141,"url":"https://github.com/boltuix/basic-mvvm","last_synced_at":"2025-05-15T00:34:47.395Z","repository":{"id":134480607,"uuid":"559621352","full_name":"BoltUIX/Basic-MVVM","owner":"BoltUIX","description":"Let us try simple android project with MVVM to load image using Retrofit library","archived":false,"fork":false,"pushed_at":"2022-10-30T17:45:41.000Z","size":1560,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-26T03:25:47.054Z","etag":null,"topics":["livedata","mvvm","picaso"],"latest_commit_sha":null,"homepage":"https://www.boltuix.com/2022/09/mastering-mvvm-design-pattern.html","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BoltUIX.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-10-30T17:21:40.000Z","updated_at":"2022-10-30T17:45:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"d65de7a6-0c82-4ca8-8483-ed402fb8c5cd","html_url":"https://github.com/BoltUIX/Basic-MVVM","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/BoltUIX%2FBasic-MVVM","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BoltUIX%2FBasic-MVVM/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BoltUIX%2FBasic-MVVM/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BoltUIX%2FBasic-MVVM/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BoltUIX","download_url":"https://codeload.github.com/BoltUIX/Basic-MVVM/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239251103,"owners_count":19607566,"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":["livedata","mvvm","picaso"],"created_at":"2024-11-06T19:30:41.343Z","updated_at":"2025-02-17T07:28:26.212Z","avatar_url":"https://github.com/BoltUIX.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Basic-MVVM\nLet us try simple android project with MVVM to load image using Picasso library\n\nModel:\nIt represents the data and the business logic of the Android Application.\nIt consists of the business logic - local and remote data source, model classes, repository.\n\nView:\nIt consists of the UI Code(Activity, Fragment), XML.\nIt sends the user action to the ViewModel but does not get the response back directly. To get the response, it has to subscribe to the observables which ViewModel exposes to it.\n\nViewModel:\nIt is a bridge between the View and Model(business logic).\nIt does not have any clue which View has to use it as it does not have a direct reference to the View.\nSo basically, the ViewModel should not be aware of the view who is interacting with. It interacts with the Model and exposes the observable that can be observed by the View.\n\nRead more\nhttps://www.boltuix.com/2022/09/mastering-mvvm-design-pattern.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboltuix%2Fbasic-mvvm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboltuix%2Fbasic-mvvm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboltuix%2Fbasic-mvvm/lists"}