{"id":16107818,"url":"https://github.com/jhj0517/android-template-mvvm-xml","last_synced_at":"2026-02-11T08:07:25.004Z","repository":{"id":233253268,"uuid":"786325812","full_name":"jhj0517/android-template-mvvm-xml","owner":"jhj0517","description":"Simple Android MVVM (xml) Template without Compose","archived":false,"fork":false,"pushed_at":"2024-10-05T12:04:42.000Z","size":142,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T12:27:00.955Z","etag":null,"topics":["android","mvvm","xml"],"latest_commit_sha":null,"homepage":"","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/jhj0517.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,"zenodo":null}},"created_at":"2024-04-14T05:24:02.000Z","updated_at":"2024-10-05T12:04:45.000Z","dependencies_parsed_at":"2024-04-15T07:25:22.475Z","dependency_job_id":"cfbb15db-07a1-440f-acf8-4be4e306bbc7","html_url":"https://github.com/jhj0517/android-template-mvvm-xml","commit_stats":null,"previous_names":["jhj0517/android-template-mvvm-xml"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jhj0517/android-template-mvvm-xml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhj0517%2Fandroid-template-mvvm-xml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhj0517%2Fandroid-template-mvvm-xml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhj0517%2Fandroid-template-mvvm-xml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhj0517%2Fandroid-template-mvvm-xml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jhj0517","download_url":"https://codeload.github.com/jhj0517/android-template-mvvm-xml/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhj0517%2Fandroid-template-mvvm-xml/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273548664,"owners_count":25125255,"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-09-04T02:00:08.968Z","response_time":61,"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":["android","mvvm","xml"],"created_at":"2024-10-09T19:24:33.082Z","updated_at":"2026-02-11T08:07:19.957Z","avatar_url":"https://github.com/jhj0517.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Android MVVM (XML) Template\nSimple template for MVVM with XML (Activity \u0026 Fragment) in Android, without Compose. [(Compose version)](https://github.com/jhj0517/android-template-mvvm-compose)\n# Architecture\n![Flowcharts](https://github.com/jhj0517/android-template-mvvm-xml/assets/97279763/c9c0de0a-9a3a-47ff-9f48-0999e39caa34)\n# Overview\n- Notices\n    1. The INTERNET permission is enabled in the Manifest because there's a basic Retrofit2 usage.\n    2. `BuildConfig` is enabled in `build.gradle` to securely use important variables, such as `BuildConfig.API_KEY`.\n    3. Put important variables in **`keys.properties`**. It'll be loaded in `build.gradle`.\n- Core Versions\n```toml\nagp = \"8.3.0\"\nkotlin = \"1.9.0\"\nroom = \"2.6.1\"\nhilt = \"2.51.1\"\ngson = \"2.10.1\"\nretrofit2 = \"2.11.0\"\nksp = \"1.9.0-1.0.13\"\nokhttpLogging = \"4.12.0\"\n```\n\n# Usage\n1. git clone this repo\n```commandline\ngit clone https://github.com/jhj0517/android-template-mvvm-xml.git\n```\n2. Modify git remote url with yours\n```commandline\ngit remote set-url origin git@github.com:your_name/repo_name.git\n```\n3. Go to the **Project Files** tab in the File Tree view within Android Studio, not the **Android** or **Project** tab.\n    - Refactor the organization name with yours\n       ![organization](https://github.com/jhj0517/android-template-mvvm-xml/assets/97279763/0846bd20-8214-4ae8-8227-441741f7a694)\n    - Refactor the package name with yours\n       ![package](https://github.com/jhj0517/android-template-mvvm-xml/assets/97279763/a28f8852-0968-4756-b990-0b681ed16feb)\n4. Change the `namespace` and `applicationId` in the module-level `build.gradle`.\n```gradle\nandroid {\n    namespace = \"com.jhj0517.android_template_mvvm_xml\" // Change\n    defaultConfig {\n        applicationId = \"com.jhj0517.android_template_mvvm_xml\" // Change\n    }\n}\n```\n5. Change the `rootProject.name` in the `settings.gradle`\n```gradle\nrootProject.name = \"android-template-mvvm-xml\" // Change\n```\n6. **Build** -\u003e **Clean Project** -\u003e **Rebuild Project**\n7. You're now ready to start your new project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhj0517%2Fandroid-template-mvvm-xml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjhj0517%2Fandroid-template-mvvm-xml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhj0517%2Fandroid-template-mvvm-xml/lists"}