compose-samples
tivi
Our great sponsors
- Appwrite - The Open Source Firebase alternative introduces iOS support
- InfluxDB - Access the most powerful time series database as a service
- SonarQube - Static code analysis for 29 languages.
- ONLYOFFICE ONLYOFFICE Docs — document collaboration in your environment
compose-samples | tivi | |
---|---|---|
97 | 26 | |
15,941 | 5,875 | |
2.7% | - | |
8.5 | 7.9 | |
7 days ago | 4 days 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.
compose-samples
-
Customizable calendar for Jetpack Compose with option to add app specific dates etc.
check this out : https://github.com/android/compose-samples/tree/main/Crane
-
Let's create notification reminder app in Jetpack Compose.
Basic understanding of Jetpack Compose.
-
Architecture Help
The compose-samples repo has a comprehensive list of samples ranging from low to complex projects which might be worth a look.
- Compose UI or layouts?
-
Leveraging Rust and the GPU to render user interfaces at 120 FPS
And what was learned from Flutter has produced something I consider even more interesting: Compose UI (https://developer.android.com/jetpack/compose) and JetBrains' Compose Multiplatform (https://www.jetbrains.com/lp/compose-mpp/)
- New app: xml or compose?
-
Clean Architecture VS. Official documentation!
Now, same story, in the current documentation the list is replaced by a single UserMessage without any explanation of the previous example. It just says "For a more advanced use case, displaying a list of user messages on screen, check out the Jetsnack Compose example." .
-
Dart 3 will be on pair with Kotlin and other top languages (you can see more features in the proposal)
As for the strange infix syntax, you're correct - it's not important (for Dart anyway). Kotlin supports writing code that have DSL like syntax making things like typesafe HTML or Jetpack Compose possible.
-
Jetpack Compose; A Modern UI ToolKit
Sample apps
This is what Jetpack Compose according to the Android Developers team;
tivi
-
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
-
What are the most common used (3rd party) libraries and frameworks used in Android development?
Apps for inspiration/examples: Plaid, Tivi
-
Bytecode Transformations: The Android Gradle Plugin
If we want database operations to show up in Sentry, we need to wrap them into special objects called Spans. In short, Spans are application events that have a start and end time and some metadata like operation name, description, etc. For example, this is how the performance breakdown looks for a popular open-source app tivi:
What are some alternatives?
MPAndroidChart - A powerful 🚀 Android chart view / graph view library, supporting line- bar- pie- radar- bubble- and candlestick charts as well as scaling, panning and animations.
filament - Filament is a real-time physically based rendering engine for Android, iOS, Windows, Linux, macOS, and WebGL2
Flutter - Flutter makes it easy and fast to build beautiful apps for mobile and beyond
MVICore - MVI framework with events, time-travel, and more
android-mvvm-dagger-rxjava-retrofit - A sample project which demostrate use of MVVM and Dagger 2 with RxJava2 along with Retrofit
badass-runtime-example-kotlin-tornadofx - Using the Badass Runtime Plugin with Kotlin and tornadofx
Decompose - Kotlin Multiplatform lifecycle-aware business logic components (aka BLoCs) with routing (navigation) and pluggable UI (Jetpack Compose, SwiftUI, JS React, etc.)
old-reddit-redirect - Ensure Reddit always loads the old design
molecule - Build a StateFlow stream using Jetpack Compose
accompanist - A collection of extension libraries for Jetpack Compose
Coil - Image loading for Android backed by Kotlin Coroutines.
sunflower - A gardening app illustrating Android development best practices with migrating a View-based app to Jetpack Compose.