groupie
SQLDelight
groupie | SQLDelight | |
---|---|---|
10 | 32 | |
3,644 | 5,928 | |
- | 1.2% | |
5.8 | 9.6 | |
7 months ago | 5 days ago | |
Java | Kotlin | |
MIT License | 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.
groupie
-
Fixing problems by solving the root of the problem #compost edition
I've been hearing for 2 years that the primary benefit of Compose is that you "no longer need to write a RecyclerView.Adapter", not realizing that you can use something like Groupie and effectively turn RecyclerView into adapter.setItems(listOf(Item1(), Item2())) just like in Compose.
-
Replacement for advancedrecyclerview?
https://github.com/lisawray/groupie Maybe it can help for your purposes
-
Why is Compose so difficult to learn?
Been using RecyclerView and haven't written an adapter in a very long time because you can abstract it away
-
RecyclerView with different item layout
Technically you can also use a library that hides this from you, for example I tend to use https://github.com/lisawray/groupie with BindableItem
-
What is the best way to create an expandable list?
There are also libs that help you handle this, there's gorupie here https://github.com/lisawray/groupie and also Expandable RV here https://github.com/thoughtbot/expandable-recycler-view
-
What are the most common used (3rd party) libraries and frameworks used in Android development?
RecyclerView utilities: Epoxy, Groupie, AdapterDelegates
- Does anyone else hate recyclerviews and how android handles lists.
-
Listadapter With Multiple View Types
I think Groupie is nice, although Google seems to think of each Adapter being able to describe itself "as an item view type". So you could build "multiple item view types" using a concatAdapter of N ListAdapters. Tricky.
-
How you keep the single responsibility principle in adapters/views
We've been using https://github.com/lisawray/groupie/ which offers a common GroupAdapter for all Items, so that each RecyclerView Item type can be encapsulated in its own class, Item.
-
Why is there are so much boilerplate code?
Don't write adapters or view holders for RecyclerView, use something like Groupie.
SQLDelight
-
querky – autogenerate Python functions and types for your SQL queries
This seems to be similar to https://github.com/cashapp/sqldelight, and I've always wanted a python equivalent!
In typescript, there are query builders (not talking about ORMs) that can basically do this within the type system, but that would be infeasible in python's type system. This approach (type/code generation is a good alternative, though I like using sqlalchemy / alembic to manage schemas/migrations.
One thing I'm curious about is how it knows the types of columns? I looked quickly at the Readme but didn't see it (probably a parameter somewhere I missed).
- I'm creating a REST API using KTOR. What's the best ORM to go with KTOR ?
-
KMM alternatives to Android Datastore & Room DB?
That functionality has existed for almost exactly a year
-
What were your negative experiences when adopting KMM?
- SQLDelight - great experience overall, the only issue that I found, was when that I made a database migration that worked on Android, but not on iOS (https://github.com/cashapp/sqldelight/issues/3812)
-
Adopting Kotlin Multiplatform Mobile(KMM) on 9GAG App
Database - SQLDelight
-
Android Starter Template (hilt, ktor, coroutines, flow, modules, gradle.kts, version catalog, compose, MVVM, tests, GitHub CI)
room is a great example but like I said our data is kotlin-only so we tend to use libraries like sqlDelight.
-
Announcing new crate - "hugsqlx": turning SQLx queries into Rust functions
This seems similar to https://cashapp.github.io/sqldelight/ for kotlin, I think this approach is pretty neat, good luck with it!
-
ADVICE WANTED - Typescript PostgreSQL without ORM
Sounds like you want what SQLDelite offers, but for TypeScript. SQLDelite is only for Kotlin and SQLite though.
-
Why We're Moving on from Firebase
SQLDelight had neat built in support for this
https://cashapp.github.io/sqldelight/
-
Flyweight: An ORM for SQLite
You would really like sqldelight[1] then. It takes the concept of an ORM and flips it on its head. Instead of mapping function calls to SQL statements, it lets you write SQL statements and then generates classes for you that have methods for those statements.
For instance, you could have a SQL statement like getCardsForFight: select * from fights where cardId = ? and titleFight = ?, and it would generate a class that has a method getCardsForFight(cardId: number, titleFight: number).
[1]: https://github.com/cashapp/sqldelight
What are some alternatives?
Epoxy - Epoxy is an Android library for building complex screens in a RecyclerView
Exposed - Kotlin SQL Framework
expandable-recycler-view - Custom Android RecyclerViewAdapters that collapse and expand
Realm Asset Helper - A small library to help with Realm.IO integration in Android apps
nowinandroid - A fully functional Android app built entirely with Kotlin and Jetpack Compose
Ktorm - A lightweight ORM framework for Kotlin with strong-typed SQL DSL and sequence APIs.
glide - An image loading and caching library for Android focused on smooth scrolling
jOOQ - jOOQ is the best way to write SQL in Java
Permission Dispatcher - A declarative API to handle Android runtime permissions.
RoomAsset - A helper library to help using Room with existing pre-populated database [DEPRECATED].
ExpandableLayout - 🦚 An expandable layout that shows a two-level layout with an indicator.
Realm - Realm is a mobile database: a replacement for Core Data & SQLite