{"id":22401873,"url":"https://github.com/raimonizard/android-studio-livedata-mvvm-example","last_synced_at":"2025-10-12T19:40:56.744Z","repository":{"id":263861082,"uuid":"891411964","full_name":"raimonizard/android-studio-LiveData-MVVM-example","owner":"raimonizard","description":"Exemple de LiveData i estructura MVVM fet amb Android Studio LadyBug usant Jetpack Compose amb Kotlin.","archived":false,"fork":false,"pushed_at":"2024-11-20T17:10:19.000Z","size":155,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T00:30:25.758Z","etag":null,"topics":["android-studio","jetpack-compose","teaching-materials"],"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/raimonizard.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":"2024-11-20T09:38:03.000Z","updated_at":"2025-01-16T14:21:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"63e0cf7e-9b04-4413-a64e-0099594db1c5","html_url":"https://github.com/raimonizard/android-studio-LiveData-MVVM-example","commit_stats":null,"previous_names":["raimonizard/android-studio-livedata-mvvm-example"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/raimonizard/android-studio-LiveData-MVVM-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raimonizard%2Fandroid-studio-LiveData-MVVM-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raimonizard%2Fandroid-studio-LiveData-MVVM-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raimonizard%2Fandroid-studio-LiveData-MVVM-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raimonizard%2Fandroid-studio-LiveData-MVVM-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raimonizard","download_url":"https://codeload.github.com/raimonizard/android-studio-LiveData-MVVM-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raimonizard%2Fandroid-studio-LiveData-MVVM-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279012673,"owners_count":26085159,"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-10-12T02:00:06.719Z","response_time":53,"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-studio","jetpack-compose","teaching-materials"],"created_at":"2024-12-05T09:09:15.906Z","updated_at":"2025-10-12T19:40:56.739Z","avatar_url":"https://github.com/raimonizard.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Android App with LiveData and MVVM\n## Android Studio Version\nAndroid Studio Ladybug | 2024.2.1 Patch 2\n\n## Language\nKotlin with JetPack Compose\n\n## Purpose\nThis app is a demo of the use of **LiveData** and **MVVM** pattern\n\n---\n\n# Gradle dependencies\nIt is necessary to add the following dependencies in the file [`app/build.gradle.kts`](app/build.gradle.kts):\n\n``` bash\ndependencies {\n    //This dependency provides the core components for using LiveData, ViewModel, and other lifecycle-aware components in your Android app. It's essential for implementing the MVVM architecture.\n    implementation(\"androidx.lifecycle:lifecycle-runtime-ktx:2.6.1\")\n    //This dependency is crucial for observing LiveData objects within your Compose UI. It provides the observeAsState() function, which allows you to convert LiveData values into Compose state, enabling your UI to automatically update when the LiveData changes. Explanation:\n    implementation(\"androidx.compose.runtime:runtime-livedata:1.7.5\")\n}\n```\n\n# Screenshot\n\u003cimg src=\"app/screenshots/Screenshot_20241120_164629.png\" alt=\"App activity\" width=\"300\"/\u003e\n\n---\n# References\n- Example quotes: https://cursokotlin.com/mvvm-en-android-con-kotlin-livedata-y-view-binding-android-architecture-components/\n- Example user: https://medium.com/@kevinhomorales/usa-mvvm-en-tus-apps-con-kotlin-2d337c619431\n- Official doc about ViewModel: https://developer.android.com/topic/libraries/architecture/viewmodel?hl=es-419#jetpack-compose_1\n\n---\n# Official Course\nhttps://developer.android.com/courses/jetpack-compose/course?gclid=Cj0KCQiAhomtBhDgARIsABcaYym0EHsDfz7aJLKopqZ3VUztWyIg5x_16ED13T62_WZfqsGLYQQicKMaAvExEALw_wcB\u0026gclsrc=aw.ds\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraimonizard%2Fandroid-studio-livedata-mvvm-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraimonizard%2Fandroid-studio-livedata-mvvm-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraimonizard%2Fandroid-studio-livedata-mvvm-example/lists"}