{"id":21204750,"url":"https://github.com/linx64/appsfact","last_synced_at":"2026-04-27T18:34:11.707Z","repository":{"id":168322156,"uuid":"544008048","full_name":"LinX64/AppsFact","owner":"LinX64","description":"An example of Music management app with Clean Architecture, Using Single Activity, Stateflow, Flow, Sealed interface \u0026 Sealed Class, BaseFragment, BaseListAdapter, and MVVM.","archived":false,"fork":false,"pushed_at":"2022-11-20T19:41:58.000Z","size":387,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-09T14:05:38.617Z","etag":null,"topics":["android","baseviewmodel","clean-architecture","coroutines-android","inline-function","kotlin-android","mvvm","room-persistence-library","sealed-class","sealed-interface","stateflow"],"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/LinX64.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":"2022-10-01T11:49:45.000Z","updated_at":"2024-07-24T17:41:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"e5c83424-0461-492f-ab58-8b5857898e88","html_url":"https://github.com/LinX64/AppsFact","commit_stats":null,"previous_names":["linx64/appsfact"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LinX64/AppsFact","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinX64%2FAppsFact","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinX64%2FAppsFact/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinX64%2FAppsFact/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinX64%2FAppsFact/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LinX64","download_url":"https://codeload.github.com/LinX64/AppsFact/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinX64%2FAppsFact/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32349776,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T17:12:42.749Z","status":"ssl_error","status_checked_at":"2026-04-27T17:12:41.658Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","baseviewmodel","clean-architecture","coroutines-android","inline-function","kotlin-android","mvvm","room-persistence-library","sealed-class","sealed-interface","stateflow"],"created_at":"2024-11-20T20:39:55.553Z","updated_at":"2026-04-27T18:34:11.679Z","avatar_url":"https://github.com/LinX64.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AppsFact - Music management\n\n### Tech stacks\n\n- Kotlin\n- MVVM\n- Clean Architecture\n- Use-cases\n- Hilt (Dependency Injection)\n- Room (Persistence library)\n- Retrofit\n- Navigation\n- Automated tests (Espresso)\n- Unit Tests (Junit4)\n\n### Layers (Clean Architecture)\n\nThis project uses Clean Architecture with three different layers as recommended\nby [Google](https://developer.android.com/topic/architecture?gclid=Cj0KCQjwnP-ZBhDiARIsAH3FSRcqhwDHkL89guXx0hxFBQPoMx0rabJWKBWiMJi-Fc9hJf5i4vwx6JwaAi_iEALw_wcB\u0026gclsrc=aw.ds#recommended-app-arch):\n\n- Data (data layer: exposing application data)\n- Domain (containing use-cases and business logic)\n- UI (displaying data to user)\n\n### Solution\n\nThe project consists of 4 different `Fragment`s with a single `Activity`. It uses one\nbase `Fragment` to avoid the repetition `onCreateView()` and `onViewCreated()` methods for `Fragment`s, as well as a `BaseAdapter` for Adapters.\n\n1. The mainScreen (`Fragment`) - loads saved albums from Database.\n2. AlbumInfo `Fragment` which accepts `id`, `albumName` and `artistName` as arguments and then makes\n   the call to the server to get the specific album detail.\n3. Search Artist - where it searches for artists based on a name.\n4. Top albums - when user clicks on an album, the apps navigates to top albums to show the top\n   albums of that specific artist.\n\n**Navigation:**\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://i.imgur.com/zS63MnP.png\" height=\"420\" /\u003e\n\u003c/p\u003e\n\n**Screens and UI:**\n\n\u003cp align=\"center\"\u003e\n\n\u003cimg src=\"https://i.imgur.com/C9wYaaK.png\" height=\"420\" /\u003e\n\u003cimg src=\"https://i.imgur.com/e6Iqk6o.png\" height=\"420\" /\u003e\n\u003cimg src=\"https://i.imgur.com/1x9Pm3m.png\" height=\"420\" /\u003e\n\u003cimg src=\"https://i.imgur.com/ruVU2VB.png\" height=\"420\" /\u003e\n\n\u003c/p\u003e\n\n### Unit Tests\n\nUnit tests are written for the `Repository`. For the `Repository` tests they are written\nusing `Mock` and `JUnit4`.\n\n### Instrumentation Tests\n\nInstrumentation tests are written for the `Activity` and `Fragment`. For the `Fragment` tests they\nare written using `Espresso` and `JUnit4`.\n\n### TODO\n\n- Add more tests for the `ViewModel` and `Repository`.\n- Add/Improve Unit tests.\n- Handle errors within the albums.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinx64%2Fappsfact","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinx64%2Fappsfact","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinx64%2Fappsfact/lists"}