DeclarativeAdapter-kt
Store
Our great sponsors
DeclarativeAdapter-kt | Store | |
---|---|---|
2 | 21 | |
6 | 3,064 | |
- | 1.3% | |
3.7 | 6.7 | |
9 months ago | 6 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.
DeclarativeAdapter-kt
-
Does anyone else hate recyclerviews and how android handles lists.
yes but there are tons of high level libraries that provide better abstractions over adapter api. check out epoxy. or even my own library DeclarativeAdapter
-
Any declarative based libraries
you can check out my library, declarative adapter: https://github.com/andob/DeclarativeAdapter-kt with it, you can define recycle view adapters more easily, but typing what you want, not how you want, step by step. also you can check out other open source libraries I made. I love declarative + functional style :)
Store
- Store5 is in beta!
-
Where is your preferred place on app flow to check user session?
Assuming you're using something like okhttp, I usually just check to see if a refresh token is available on the device, then let an interceptor handle token validity with some type of listener that the view observes on (MainActivity would do this in a single activity app) to handle navigating back to login. For refreshing data I tend to rely on my repositories to handle cache validation as needed. Something like Store can do this for you.
-
Store: A Library For Building Network-Resilient iOS, Android, and Web Applications
Store simplifies reading and writing to and from local and remote data sources. We recommend an underlying persistence library that supports observable queries. Store's SourceOfTruth delegates to, for example, SqlDelight. For more background, here's the talk Mike and Yiğit gave at KotlinConf when premiering Store4: https://www.youtube.com/watch?v=raWdIwsDe-g
Hey! Great question. Yes we moved Store from Dropbox to Mobile Native Foundation. We made changes to the implementation of Store. However the contract is the same as Store4. MutableStore and StatefulStore (in proposal) are net new. But both will delegate to Store. For example, this is the implementation of MutableStore. I have a branch at Dropbox using Store5 alongside Store4. One of our criteria for releasing the Store5 alphas was all Store4 tests needed to pass. We are working on docs and can definitely address these concerns 👍
- A/B testing on Android
-
Offline First Architecture with Single Data Source/Table in the Cloud
Store is a KMP implementation of Google’s offline-first guidance and general solution for reading, writing, and resolving data conflicts
-
Data states for Android / Kotlin
Related project that I really like https://github.com/MobileNativeFoundation/Store
-
Store from Mobile Native Foundation
I've been meaning to look into using the Store library since I heard Yigit Boyar talk about it on this Android Developers Backstage episode I started implementing it today and I'd love to see some samples or articles to better understand how they intend you to use it.
-
So I fetched data from an api using retrofit. I am getting data back as a List. I would like to use those same data in 3 recycler view fragments. What could be a simple way to do that if possible? Thanks
I’ve been a bit interested https://github.com/MobileNativeFoundation/Store in this but could easily be overkill for such a simple scenario
-
Open source vs. the emotional connection to your own project
- the new york times publishes kyt, gizmo and store (which they have now moved to a different organization store 4)
What are some alternatives?
react-query - 🤖 Powerful asynchronous state management, server-state utilities and data fetching for TS/JS, React, Solid, Svelte and Vue. [Moved to: https://github.com/TanStack/query]
zipline - Run Kotlin/JS libraries in Kotlin/JVM and Kotlin/Native programs
componentbox - Reactive server-driven UI for iOS, Android, and web
Resource - Handy states for dynamically obtained data.
abc-kmm-location - Location Service Manager for Kotlin Multiplatform Mobile iOS and Android
Journal3 - A thought experiment on architecture, object-oriented programming, and composability. #MakeObjectsGreatAgain
nginx-vod-module - NGINX-based MP4 Repackager
Gizmo - A Microservice Toolkit from The New York Times
NYTimes-KMP - A KMP template of the New York Times App using Compose multiplatform for Android, Desktop, iOS and Web
ini - Package ini provides INI file read and write functionality in Go
theta-client - A library to control RICOH THETA
EVCache - A distributed in-memory data store for the cloud