jetpack-navigation-ftue-sample
android-template
jetpack-navigation-ftue-sample | android-template | |
---|---|---|
6 | 7 | |
237 | 21 | |
- | - | |
2.5 | 7.2 | |
10 months ago | 14 days 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.
jetpack-navigation-ftue-sample
-
Any Modern examples of using only 1 activity, but multiple(lots of) fragments in a non trivial app
Not a complex example per say, but I did write this sample and it'd scale as it looks right now, just more packages in core and in features.
-
How to properly handle conditional navigation with dynamic starting destination whhen using navigation component?
The whole circus around login/logout is a mess in jetpack navigation. It assumes a world where your app always has a fixed starting point which imo doesn't make sense with apps where the entire content is behind auth. I recommend checking out https://github.com/Zhuinden/jetpack-navigation-ftue-sample
-
LiveData vs SharedFlow and StateFlow in MVVM and MVI Architecture
A simplified variation can be seen in this repo, a LiveData variant with Jetpack stuff can be seen in this repo, my issue with this sample is that as there is no input + debounce + filter + async data load example in it, there is no switchMap (and even for combineTuple, I can use my other helper validateBy here), and those would be key to understanding the difference in terms of expressibility and power...
-
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?
I have a non-Compose "MVVM + Hilt" sample here
-
Things seem to be shockingly complex in Android dev now
See https://github.com/Zhuinden/jetpack-navigation-ftue-sample/blob/master/app/src/main/java/com/zhuinden/jetpacknavigationdaggersavedstatehandleftueexperiment/features/login/LoginViewModel.kt#L30-L41
-
Hilt alpha 0.0.3
Yes it works wonders
android-template
- How to make an asynchronous network call but wait for the result on a class's overriden method.
-
Single Activity Arch with bottom nav bar
maybe this example will help you with understanding better. It does exactly what you want using listener which is invoked whenever fragment is changed, and arguments (passed from navigation graph unless conditions are needed)
-
Jetpack compose routing with bottom navigation bar and standalone full screen pages
Fragment based
-
How to properly handle conditional navigation with dynamic starting destination whhen using navigation component?
Introducing - android template by u/skyyoo_
-
Template repository: fragment based & full compose
Wanted to share a template repository which I've been using extensively for past year or so. Who doesn't know how what's the benefit of a template project - you can find the description here. It's opinionated, but is very flexible I believe. It contains a bunch of branches for bottomNavigation, protoStore etc. It has CI setup using GitHub actions. Also there's some opinionated code style guides, and general code advices, mostly those which are really easy to miss unless you had recent experience with them, great memory or already have your checklist. Recently I've completely ditched the Groupie and started using compose inside fragments. Repository link: https://github.com/Skyyo/android-template
-
What is your step by step process when making your apps?
You might want to use templates. This will reduce the priject setup time drastically. This example covers typical combinations. Also some usefull code style (subjective) and general advices. https://github.com/Skyyo/android-template
-
A fragment -> auth flow-> bottom navigation w/ Navigation component/jetpack
you might find this example interesting
What are some alternatives?
tivi - Tivi is a TV show tracking Android app, which connects to trakt.tv
Jetpack-Navigation-Multistack-Example - [DEMO] An example using Jetpack Navigation and bottom nav multi-stack using child fragments.
architecture-components-samples - Samples for Android Architecture Components.
music-player - Music player written with jetpack compose
jetflix - Movie listing app using Jetpack Compose and Tmdb api
android-compose-template - Project with various common components, to reduce "project setup" operations
android-mvvm-dagger-rxjava-retrofit - A sample project which demostrate use of MVVM and Dagger 2 with RxJava2 along with Retrofit
simple-stack-ftue-sample - [DEMO] Sample code to display "First-Time User Experience" in a Single-Activity app using Simple-Stack, based on the "Conditional Navigation" section by Google.
CocktailApp - Cocktails Android App with Clean Architecture, MVVM , Retrofit, Coroutines, Navigation Components , Room, Dagger Hilt, Cache Strategy and Coroutines Flow
samples - Jetpack Compose based project, used to stress-testing compose features / integrations and explore non-trivial functionality
compose-samples - Official Jetpack Compose samples.
kotlin-android-template - Android + Kotlin + Github Actions + ktlint + Detekt + Gradle Kotlin DSL + buildSrc = ❤️