YouTooBeAlike
android-template
YouTooBeAlike | android-template | |
---|---|---|
2 | 3 | |
2 | 563 | |
- | 0.0% | |
6.7 | 3.4 | |
about 1 year ago | 12 months ago | |
Kotlin | Kotlin | |
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.
YouTooBeAlike
-
I’m creating 2 simple practice apps that have a shared code base (mostly). A simple hit an api and crate a list. Would the recyclerview be in the shared folder or one in each app folder? Is there a good example I can look at?
Not sure why you're asking specifically about recycler view. If your application shares most of the code, I highly recommend modularization by feature and layer. You can then create a second application as a second application module in the same project. Check out the official guide, or if you're interested in my codebase with a slightly different approach.
-
How are you supposed to handle one time events with sealed classes?
If your error message is cleared after being displayed, it has a different lifecycle than UiState. This means you should declare another value to describe this one-time operation instead of just clearing the error message in UiState. This Github Gist is a possible UiState declaration that fits your scenario. If you want to reference a sample project, here is the Github repo.
android-template
- Android Starter Template (hilt, ktor, coroutines, flow, modules, gradle.kts, version catalog, compose, MVVM, tests, GitHub CI)
- Android Starting Template Updated to Compose
-
Android Utility belt — Collection of dependencies for a greenfield project
I highly recommend using this template project for greenfield projects. From DI/logger to instrumentation test everything has been perfectly set up. Though, the network dependencies are not present in the template. So, look up below and add dependencies as you see fit.
What are some alternatives?
Clother - Clother is an Android client-server app for swapping unused clothes.
Quizzer - Clean architecture java android application
MyGoodDoggoApp - Android app architecture sample of MVVM UDF
Mediateka - The app demonstrates principles of usecases with RxJava2 , Dagger2 , Room , MVP , Mockito and Clean Architecture in Android. 📚
Delish - Delish, a Food Recipes App in Jetpack Compose and Hilt based on modern Android tech-stacks and MVI clean architecture.
JADA - JADA - Just Another Dictionary App
Foodium - 🍲Foodium is a sample food blog Android application 📱 built to demonstrate the use of Modern Android development tools - (Kotlin, Coroutines, Flow, Dagger 2/Hilt, Architecture Components, MVVM, Room, Retrofit, Moshi, Material Components).
CleanArchitectureForAndroid - Clean Architecture for Android - a sample project
AndroidCleanArchitecture - This is a project built with Love ❤️ and also with Clean architecture in Android .
nowinandroid - A fully functional Android app built entirely with Kotlin and Jetpack Compose
gram - Sample android application that pulls random image from unsplash api
SQLDelight - SQLDelight - Generates typesafe Kotlin APIs from SQL