androidx
Kotlin_Flow_To_The_View
androidx | Kotlin_Flow_To_The_View | |
---|---|---|
14 | 2 | |
5,076 | 11 | |
1.5% | - | |
10.0 | 0.0 | |
3 days ago | over 1 year 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.
androidx
-
Building Reddit Recap with Jetpack Compose on Android
To diagnose whether our composables and models meet these criteria, we leveraged Compose Compiler Metrics. These gave us stability information about the composable parameters and allowed us to update our UiModels and composables to make sure that they could be skipped. We ran into a few snags. At first, we were not using immutable collections, which meant that our list parameters were mutable and hence composables using these params could not be skipped. This was an easy fix. Another unexpected issue we ran into was that while our composables were skippable, we found that when lambdas were recreated, they weren't considered equal to previous instances, so we wrapped the event handler in a remember call, like this:
-
Is there anywhere on github which has the latest Android Open Source Project (AOSP) files?
I am trying to manually copy and paste out the pieces of code I need from the glance source code and put into my Android Studio project but as you can imagine there are hundreds of errors to address. I also tried a git clone of a specific chunk of the source code from here without any luck.
-
Simple RSS Feed Reader - Jetpack Compose
One mistake I made is naming conversion of a composable function, that I didn't start with a noun. This is quoted from Compose API guidelines
- Does anyone actually use DataStore?
-
Where is the GitHub repo for kotlin multi platform mobile. I can't find it?
https://github.com/androidx/androidx The androidx repo might be what you're looking for
-
Introducing Focus, a new open source Gradle plugin
Haven't looked too closely yet, but so far this seems similar to AndroidX Playground (albeit Playground isn't exactly meant for public consumption, of course).
- Just because Jetpack Compose is out, it does not mean we have to bury the old XML
-
LiveData is superior to StateFlow for UI and ViewModel layer.
This is the implementation of CoroutineLiveData: https://github.com/androidx/androidx/blob/androidx-main/lifecycle/lifecycle-livedata-ktx/src/main/java/androidx/lifecycle/CoroutineLiveData.kt
-
What is current best tech stack for modern apps?
SafeArgs VM isn't safe?
-
Do you use SharedPreferences?
preferences datastore is similar to SharedPreferences. Proto datastore is the one you should be using, and is based on protocol buffers to give you type safety among other advantages. Even in the case of preferences datastore though, it doesn't appear to even mention SharedPreferences. You can see the source for all datastore components here: https://github.com/androidx/androidx/tree/androidx-main/datastore
Kotlin_Flow_To_The_View
-
LiveData is superior to StateFlow for UI and ViewModel layer.
I'll let you see for yourself : https://github.com/NinoDLC/Kotlin_Flow_To_The_View
-
StateFlow & SharedFlow, What are the disadvantages ?
I made a very simple "demo" in MVVM full Flow if you want to see the differences (in the Activity or in unit test) : https://github.com/NinoDLC/Kotlin_Flow_To_The_View
What are some alternatives?
jetpack-autoloader - [READ ONLY] Autoloader for Jetpack. This repository is a mirror, for issue tracking and development head to: https://github.com/automattic/jetpack
event-emitter - [ACTIVE] The event emitter allows you to register multiple observers, but enqueue events while there are no observers.
Dispatch - Automatic CoroutineDispatcher injection and extensions for kotlinx.coroutines
PiCompose
Anko
android-dev-challenge-compose-design
AndroidNews - A simple RSS feed reader app (written in Kotlin and Jetpack Compose) that currently reads my blog (Android Kotlin Weekly)'s feed.
nowinandroid - A fully functional Android app built entirely with Kotlin and Jetpack Compose
LifecycleCollector - This library provides you convenience extension functions to easier collect Kotlin Flows lifecycle-aware from Activities or Fragments. It gives you a more convenient way to collect Flows in LiveData-fashion.
Slide - Slide is an open-source, ad-free Reddit browser for Android.
persista - Small kotlin library for persisting _single instances_ of kotlin data classes