{"id":22050221,"url":"https://github.com/icapps/android-template-kotlin-viewmodel","last_synced_at":"2025-07-28T08:34:12.937Z","repository":{"id":54190358,"uuid":"128217058","full_name":"icapps/android-template-kotlin-viewmodel","owner":"icapps","description":"Android project template with kotlin and architecture components","archived":false,"fork":false,"pushed_at":"2021-03-04T08:22:45.000Z","size":244,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-08T23:33:56.306Z","etag":null,"topics":[],"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/icapps.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}},"created_at":"2018-04-05T14:20:44.000Z","updated_at":"2021-11-28T20:21:08.000Z","dependencies_parsed_at":"2022-08-13T08:50:17.895Z","dependency_job_id":null,"html_url":"https://github.com/icapps/android-template-kotlin-viewmodel","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/icapps/android-template-kotlin-viewmodel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icapps%2Fandroid-template-kotlin-viewmodel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icapps%2Fandroid-template-kotlin-viewmodel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icapps%2Fandroid-template-kotlin-viewmodel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icapps%2Fandroid-template-kotlin-viewmodel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/icapps","download_url":"https://codeload.github.com/icapps/android-template-kotlin-viewmodel/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icapps%2Fandroid-template-kotlin-viewmodel/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267485724,"owners_count":24095300,"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","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-30T14:18:20.556Z","updated_at":"2025-07-28T08:34:12.845Z","avatar_url":"https://github.com/icapps.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# icapps Kotlin project template with LiveData, ViewModels, Dagger2 and more\n\n### Used libraries:\n- AppCompatv7\n- CardView\n- RecyclerView\n- Architecture components: ViewModel, LiveData, Extensions, Testing\n- OkHttp\n- Retrofit\n- Dagger2, DaggerAndroid, DaggerAndroidSupport\n- Moshi + Moshi codegen\n- Picasso\n- Niddler\n\n### Others\n- Kotlin\n- Databinding\n- Custom ObservableFuture implementation (see https://github.com/icapps/androidarchitecture)\n- Dependency update plugin\n\n### ViewModel architecture\n\nViewModels can be injected in `BaseActivity`'s and `BaseFragment`s by using the `getOrCreateViewModel\u003cT\u003e()` method. See `MainActivity` for an example.\nTo share a viewmodel between fragments, inject a viewmodel in the underlying activity, and use `getOrCreateActivityViewModel()` in the fragments.\n\nYou will also need to register each viewModel in `ViewModelModule.kt` so Dagger can provide the viewModel with its dependencies.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficapps%2Fandroid-template-kotlin-viewmodel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ficapps%2Fandroid-template-kotlin-viewmodel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficapps%2Fandroid-template-kotlin-viewmodel/lists"}