architecture-components-samples
kotlin-sample-app
Our great sponsors
architecture-components-samples | kotlin-sample-app | |
---|---|---|
26 | 3 | |
23,259 | 2,377 | |
0.3% | - | |
2.3 | 0.0 | |
4 months ago | over 2 years ago | |
Kotlin | Kotlin | |
Apache License 2.0 | Apache License 2.0 |
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
kotlin-sample-app
-
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?
This full featured example app on modular architecture is quite awesome. I learned a lot from it. https://github.com/VMadalin/android-modular-architecture
What are some alternatives?
Android-ItemTouchHelper-Demo - Basic example of using ItemTouchHelper to add drag & drop and swipe-to-dismiss to RecyclerView.
android-mvvm-dagger-rxjava-retrofit - A sample project which demostrate use of MVVM and Dagger 2 with RxJava2 along with Retrofit
Android-Cheat-sheet - Cheat Sheet for Android Interviews
Android-WizardPager - Android pager-style wizard flow sample code
BlurEffectForAndroidDesign - Sample to show how to implement blur graphical tricks
kotlinfixture - Fixtures for Kotlin providing generated values for unit testing
compose-desktop-template - 💻 A Compose Desktop project template with MVVM, Dagger, Decompose, tests, and more...
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.
android-basic-samples - Google Play game services - Android samples
AndroidPushNotificationsDemo - A example of an android app that receives push notifications using MQTT.
AndroidDemoProjects - Collection of Small Android Projects