tivi
architecture-components-samples
Our great sponsors
tivi | architecture-components-samples | |
---|---|---|
28 | 26 | |
6,362 | 23,231 | |
- | 0.3% | |
9.8 | 2.3 | |
6 days ago | 3 months 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.
tivi
-
Do you have an open source (base) project using latest tech?
Look no more: https://github.com/chrisbanes/tivi
- What are some open source android projects that you can go to see Best practices or how they implemented stuff
-
What do you use for compose navigation?
It's definitely the most verbose part of our app and one of the weakest parts of the Jetpack library. We used https://github.com/chrisbanes/tivi for some inspiration on how to organize your navigation structures.
-
What's modern approach to handling Preferences (UI & Storage) in Compose?
I have considered a few variants around this route. One easy way out would be just to launch a ComponentActivity with a PreferenceFragment like what Chris Banes does in TiVi ... but if you go with PreferenceFragment(Compat) it seems you are kinda stuck with SharedPreferences. If one attempts to supply DataStore wrapped in PreferenceDataStore, it seems types get messed up (TextPreference will store as a String, even if the InputType is number, etc).
-
"outdated senior" needs your advice
I would read and study nowinandroid and tivi apps.
-
Compose Navigation with multiple graphs
Check out the approach from tivi https://github.com/chrisbanes/tivi/blob/main/app/src/main/java/app/tivi/AppNavigation.kt as an idea.
- Any Clean Architecture app courses that make use of Flows completely without LiveData?
-
Anyone here who has bought Philipp Lackner's course for developing multi-module apps?
They probably want you to do a module split like in https://github.com/chrisbanes/tivi or https://github.com/igorwojda/android-showcase, but what they probably don't realize is that modularization is a trade-off, namely greatly increased build configuration complexity for... well, having modules.
-
GitHub - hvsimon/Mojito: Mojito is a cocktail manual, which contains recipes, images, and so on.
This case is used in [Tivi](https://github.com/chrisbanes/tivi) and it is also a sample in android [compose-samples](https://github.com/android/compose-samples)
-
Examples of well written apps?
I tend to look for projects by devs that I respect, ex: Chris Banes - Tivi
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
What are some alternatives?
compose-samples - Official Jetpack Compose samples.
workflow-kotlin - A Swift and Kotlin library for making composable state machines, and UIs driven by those state machines.
android-mvvm-dagger-rxjava-retrofit - A sample project which demostrate use of MVVM and Dagger 2 with RxJava2 along with Retrofit
gamedge - An Android application for browsing video games and checking the latest gaming news from around the world.
android-showcase - 💎 Android application following best practices: Kotlin, Coroutines, JetPack, Clean Architecture, Feature Modules, Tests, MVVM, DI, Static Analysis...
livedata-combineutil-java - [ACTIVE] Helper function to combine LiveDatas.
fdroidclient - Android client application.
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.
NYTimes-App - 🗽 A Simple Demonstration of the New York Times App 📱 using Jsoup web crawler with MVVM Architecture 🔥