androidx
androidx | android-dev-challenge-compose-design | |
---|---|---|
14 | 7 | |
5,076 | 17 | |
1.5% | - | |
10.0 | 5.2 | |
3 days ago | about 3 years 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.
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
android-dev-challenge-compose-design
-
Jetpack compose and viewmodel
you're asking about how to do this
-
Compose is the future: my experience, why I love it and tips on getting started
I still don't know why I needed this Layout, but it's true that replacing drawables and styleables with mere function calls and function arguments respectively is promising
-
Compose stable coming in July
You can extract logical components to the top of a composable as local functions and retain reasonable scoping while also creating local components, thus making the actual code straightforward to read (even if you sometimes need to also add hacks because Compose be Compose)
-
Jetpack Compose, should we care yet?
Yeah, both for measuring the current width/height of the layout (like getting the screen size), and also when things like Modifier.fillMaxSize(0.5f) doesn't work and I have to write code like this
-
Anyone else who had no experience with declarative UI and is having a bad time trying to "get" Compose?
Oh, that's unique to Navigation-Compose's design, and has nothing to do with declarative UI in particular. For me, navigation in compose is just this
-
Is anyone using Compose-only navigation?
Although I personally would rather pass in lambdas and then make the connection
What are some alternatives?
Kotlin_Flow_To_The_View - PoC using Flow completely on an Android Projet with MVVM architecture. No LiveData. The advantage over simply using the viewModelScope is the fact that 5 seconds after leaving the application (not killing it !), the coroutine is cancelled, avoid possibly unnecessary work.
Slide - Slide is an open-source, ad-free Reddit browser for Android.
jetpack-autoloader - [READ ONLY] Autoloader for Jetpack. This repository is a mirror, for issue tracking and development head to: https://github.com/automattic/jetpack
proteus - Proteus : A JSON based LayoutInflater for Android
Dispatch - Automatic CoroutineDispatcher injection and extensions for kotlinx.coroutines
Shrine-Compose - Compose prototype of Shrine, the e-commerce Material Design case study: https://material.io/design/material-studies/shrine.html
event-emitter - [ACTIVE] The event emitter allows you to register multiple observers, but enqueue events while there are no observers.
ViewPropertyObjectAnimator - Wrapper of the ObjectAnimator that can be used similarly to ViewPropertyAnimator
PiCompose
DailyDoc - Productivity Note App utilizing Jetpack Compose
Anko
AndroidNews - A simple RSS feed reader app (written in Kotlin and Jetpack Compose) that currently reads my blog (Android Kotlin Weekly)'s feed.