AdapterDelegates
kotlinx.serialization
Our great sponsors
AdapterDelegates | kotlinx.serialization | |
---|---|---|
7 | 52 | |
2,921 | 5,099 | |
- | 1.6% | |
0.0 | 8.5 | |
12 days ago | 5 days ago | |
Java | 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.
AdapterDelegates
-
New to professional Android development. Are there any commonly used templates or resources I might be missing?
Here, this article was very formative in my growth as a developer http://hannesdorfmann.com/android/adapter-delegates/ copying things is often a symptom of not developing the correct solution. NowInAndroid is an example of recent android development
-
Productivity tip 'Live Templates'
For adapters specifically it was very achievable with some cleverness https://github.com/sockeqwe/AdapterDelegates
-
Single Adapter 'Pattern'?
This is an anti-pattern that was dealt with years ago: http://hannesdorfmann.com/android/adapter-delegates/
-
What are the most common used (3rd party) libraries and frameworks used in Android development?
RecyclerView utilities: Epoxy, Groupie, AdapterDelegates
-
Is there any easier way to use RecyclerViews?
Most of my professional and personal projects have used adapter delegates: https://github.com/sockeqwe/AdapterDelegates
-
Using Dagger 2 Multibindings to Avoid Coupling in a Multi Flavor Android Project
Adding flavor dependent features on a shared screen can be troublesome. The problem gets even worse when you don't want to couple app flavors to features they don't use. In this article I'll show you how we do in FootballCo using Dagger 2 Multibinding, AdapterDelegates and some abstractions.
kotlinx.serialization
-
How would I serialize a JSON primitive to a class?
Have you tried this:? https://github.com/Kotlin/kotlinx.serialization/blob/master/docs/serializers.md
-
kotlinx-serialization won't serialize a List?
Regardless, I followed the documentation to register List for polymorphic serialization and my static code analysis does not seem to be happy with it.
-
Is rust serde unique?
I think kotlinx.serialization might come close, but looks like custom Encoders and Decoders are still experimental.
-
[Android/Multiplatform] Kotlin Flows + Ktor = Flawless HTTP requests (- ArrowKt)
This example will not work on a multiplatform project. you are using gson, gson runs only on jvm, you should use https://github.com/Kotlin/kotlinx.serialization for the json parsing
-
Why should I use kotlinx.serialization?
This is the issue to +1 https://github.com/Kotlin/kotlinx.serialization/issues/1931
- Generate Kotlin client for a complex web API
-
Question about app weight... I want to use Apache commons math3, should I fork it and "crop" it to reduce compile times and app weight?
Fun fact, kotlinx.serialization had a release just recently which makes it come with some bundled proguard rules to make this experience easier. Yes you'll still have issues if you're using things via reflection and try to serialize things that proguard deemed unused and removed them, but it's a step forward https://github.com/Kotlin/kotlinx.serialization/releases/tag/v1.5.0-RC
-
Modern Android Development in 2023
Kotlin Serialization
-
Apple's Swift rewrite of its Foundation framework will be open source
Kotlin Serialization is also a newer option, but doesn't have as much traction.
-
Jackson, moshi or kotlinx.serialization?
``` see the docs
What are some alternatives?
uidroid-library - View binding made easy and customizable for Android applications
jackson-module-kotlin - Module that adds support for serialization/deserialization of Kotlin (http://kotlinlang.org) classes and data classes.
iosched - The Google I/O Android App
Moshi - A modern JSON library for Kotlin and Java.
Epoxy - Epoxy is an Android library for building complex screens in a RecyclerView
klaxon - A JSON parser for Kotlin
flavor-multibindings
Gson - A Java serialization/deserialization library to convert Java Objects into JSON and back
spring-native - Spring Native is now superseded by Spring Boot 3 official native support
kotlin-json - A JavaScript Object Notation library for Kotlin JVM.
compose-multiplatform - Compose Multiplatform, a modern UI framework for Kotlin that makes building performant and beautiful user interfaces easy and enjoyable.
kotlinx-datetime - KotlinX multiplatform date/time library