architecture-components-samples
CocktailApp
Our great sponsors
architecture-components-samples | CocktailApp | |
---|---|---|
26 | 1 | |
23,231 | 444 | |
0.3% | - | |
2.3 | 0.0 | |
3 months ago | almost 3 years ago | |
Kotlin | Kotlin | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
architecture-components-samples
-
I need a repo with a modern and advanced architecture for an Android project. Can you help me?
https://github.com/android/architecture-components-samples/ was historically better
-
Architecture Help
uh, maybe https://github.com/android/architecture-components-samples/tree/a87535608564103423415baddb1e586f0337be44/LiveDataSample/app/src/main/java/com/android/example/livedatabuilder
- What are some of the best open source projects for beginners, where they can learn best practices for code and also contribute to.
-
Example for restoring data when navigating to previous fragment using navigation component.
That's still an issue .
-
KoMPose Kit: KaMP Kit goes Jetpack Compose
This covers the only Loading, only Success, only Error, Loading and Success, and Loading and Error possibilities. It harkens back to the old Android architecture components samples' Resource class.
-
What is wrong with this code related to list and filter and pagination? More details in the description
I generally just advise not having an in-memory cache like this, as if you are using ViewModel, that's meant to be the cache, and repository is stateless. For some reason, people (including Google Dev Advocate Team) seem to not check the originator of the Jetpack Repository pattern which is https://github.com/android/architecture-components-samples/blob/2c19434f89e925b8bea56366faa0a197c5b90b96/GithubBrowserSample/app/src/main/java/com/android/example/github/repository/UserRepository.kt#L40-L41
-
Do not re-fresh data when fragment tab is re-visited
I see you already have a multiple backstack handling ( judging by the gif ).If you've used approach from google advanced navigation sample, then it won't be an issue to just pop appropriate backstack upon tab reselection (if it's not the root node of the graph). That will give both recreation prevention + behaviour that you seek.
-
Tap Response Time: Jetpack Navigation 🗺
We'll implement the Tap Response Time measurement inside the Advanced Navigation Sample and focus on the navigation from the Title screen to the About screen.
-
I'm looking for a good sample codebase to review/learn from that uses MVVM, live data, compose and either dagger or hilt. Any suggestions?
Google's sample is enough good for starting. https://github.com/android/architecture-components-samples
CocktailApp
What are some alternatives?
android-mvvm-dagger-rxjava-retrofit - A sample project which demostrate use of MVVM and Dagger 2 with RxJava2 along with Retrofit
workflow-kotlin - A Swift and Kotlin library for making composable state machines, and UIs driven by those state machines.
compose-samples - Official Jetpack Compose samples.
tivi - Tivi is a TV show tracking Android app, which connects to trakt.tv
Posts-MVVM-DaggerHilt-Dynamic-Feature-RxJava3-Flow-Sample - Posts Api sample with Kotlin RxJava3/Coroutines Flow, Clean Architecture, Offline first/last with Room + Retrofit2, Dagger Hilt, Dynamic Feature Modules, Static Code Analysis, Gradle DSL, MockK+ MockWebServer with Test Driven Development including Api and Database tests
jetpack-navigation-ftue-sample - [DEMO] Sample code to display "First-Time User Experience" in a Single-Activity app using Jetpack-Navigation, NavGraphs, Dagger, SavedStateHandle, Hilt, and EventEmitter - based on the FTUE example code in simple-stack-tutorials, but originally described by Google.
kotlin-sample-app - 📚 Sample Android Components Architecture on a modular word focused on the scalability, testability and maintainability written in Kotlin, following best practices using Jetpack.
architecture-components-samples - Samples for Android Architecture Components.
nowinandroid - A fully functional Android app built entirely with Kotlin and Jetpack Compose
NYTimes-App - 🗽 A Simple Demonstration of the New York Times App 📱 using Jsoup web crawler with MVVM Architecture 🔥
accompanist - A collection of extension libraries for Jetpack Compose