groupie
simple-stack
groupie | simple-stack | |
---|---|---|
10 | 40 | |
3,644 | 1,354 | |
- | - | |
5.8 | 5.8 | |
7 months ago | 9 months ago | |
Java | Java | |
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.
simple-stack
-
Why so many people are quitting Android development
As someone who had been using single-activity since 2015 (a'la Flow) and eventually just rewrote the whole thing to fix all the bugs we had with it in 2017, I find it sad that the single-activity approach was questioned not because it was harder, but because people made their own lives harder. And then Google made their lives harder.
-
Passing context to a UseCase class inside the domain module
I've been using single-activity but with Simple-Stack since 2016 and never deprecated it because Navigation just has these quirks that impede you a lot. I know how to use it but wouldn't really pick it.
-
Does anyone know hows Fragment lifecycle work in NavHostFragment (Bottom Navigation Views Activity)?
This is why we've been using https://github.com/Zhuinden/simple-stack and it was never deprecated. We've been using it for 6 years, I'd say there was a critical bug but it was fixed in 2.3.1...
-
Can we all please settle on one
I mean, we use Simple-Stack because it makes things easier, if it didn't we'd have ditched it long ago https://github.com/Zhuinden/simple-stack
-
What do you use for compose navigation?
Agreed. I also added support for it 2 weeks ago.
-
How do you deal with complex nested navigation in Jetpack Compose?
I don't, because we use this and it's better than activities+intents π
-
Am I the only one who feels that Google's "new stuff" approach is badly hurting productivity?
We've been making single activity apps with https://github.com/Zhuinden/simple-stack and it has been easier than multi-activity.
-
Guia - Jetpack Compose Navigation
I still use https://github.com/Zhuinden/simple-stack to this day, although I still use it with fragments.
-
Single Activity Apps: Fragments vs Views in 2022
I have been using Fragments instead of compound viewgroups lately with simple-stack as the navigator for the single-activity, although I need to figure out how to switch to use onBackPressed+onBackInvokedCallback and not just onBackPressed.
-
Architecture: How to inject/provide dependencies to custom ViewGroups
You can think of Simple-Stack as a direct successor of Mortar+Flow.
What are some alternatives?
Epoxy - Epoxy is an Android library for building complex screens in a RecyclerView
FragNav - An Android library for managing multiple stacks of fragments
expandable-recycler-view - Custom Android RecyclerViewAdapters that collapse and expand
Enro - A simple navigation library for Android πΊοΈ
nowinandroid - A fully functional Android app built entirely with Kotlin and Jetpack Compose
TabSync - An Android lightweight synchronizer between Tabs and Lists. Available for Views and Jetpack Compose.
glide - An image loading and caching library for Android focused on smooth scrolling
accompanist - A collection of extension libraries for Jetpack Compose
Permission Dispatcher - A declarative API to handle Android runtime permissions.
guide-to-kotlin - [GUIDE] This tutorial assumes all you know is Java, but you want to learn Kotlin.
ExpandableLayout - π¦ An expandable layout that shows a two-level layout with an indicator.
BottomNavChildFragmentExample - An example showing how to use bottom navigation with child fragments.