simple-stack
accompanist
Our great sponsors
simple-stack | accompanist | |
---|---|---|
40 | 15 | |
1,353 | 7,211 | |
- | 1.4% | |
5.8 | 8.3 | |
9 months ago | 29 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.
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.
accompanist
-
Android Development: A Bug-Laden Ballet on a Spaghetti Tightrope
The truly disheartening part is that whenever you choose something that works, for example ViewPager1, you need to defend that yes, this thing actually works as intended, yes, there's nothing in it that would "break over time" just because Googlers added the @Deprecated on it, and yes, you still don't want to use Compost for this because you still cannot scroll vertically in a horizontal Pager if your view is a WebView.
-
Do Company form the industry actually use Jetpack Compose?
Compose on the other hand came out half-baked, significant performance issues, missing features, bugs and bugs and bugs and bugs and bugs and bugs and bugs and bugs and bugs.
-
tide/surf app for watch
Just to add to the list, Accompanist is a collection of compose libraries that helps a lot with some features. I can recommend Navigation-Animationand Permissions. https://github.com/google/accompanist
-
Photo Picker Everywhere
To give a bit of context, libraries not released as Jetpack libraries as experiment projects. Once they're released as Jetpack libraries, we have stricter release schedule in place and more resources to provide better stability for developers. That's why some Accompanist libraries end up as part of Compose foundation set, while others are still being shipped as part of the Accompanist project.
-
What do you use for compose navigation?
So you're going to get support for Parcelables in argument passing, animation support without having to fear crashes, and if you drink the ScopedServices koolaid you even get to get DI with lifecycle management and scope inheritance.
-
Jetpack compose navigation vs fragments
Here's a fun bug though https://github.com/google/accompanist/issues/1233
- Accompanist v0.25.0 is released!
-
Clean Empty Jetpack Compose App Template
There is a bug the preview is not working when System UI controller is used. See issue tracker here.
-
I ported the Spotify Mobius GitHub wiki to GitHub Pages + MkDocs with light and dark modes. I just created the issue and filed the PR. Let's see what happens!
π I have been using Mobius personally and for work for over two years now. It's a lot of fun to use and I would definitely recommend the community to consider using it. I frequently visit their GitHub repo because they still have their documentation in the GitHub wiki, unlike new repos such as Accompanist. So, I thought what better way to give back than do the grunt work of porting their wiki to GitHub Pages + MkDocs β€οΈπ₯
-
What are the most common used (3rd party) libraries and frameworks used in Android development?
Accompanist for unofficial stuff that's still useful
What are some alternatives?
FragNav - An Android library for managing multiple stacks of fragments
compose-samples - Official Jetpack Compose samples.
Enro - A simple navigation library for Android πΊοΈ
Learn-Jetpack-Compose-By-Example - π This project contains various examples that show how you would do things the "Jetpack Compose" way
TabSync - An Android lightweight synchronizer between Tabs and Lists. Available for Views and Jetpack Compose.
datmusic-android - Music search, downloader & player app using Jetpack Compose
guide-to-kotlin - [GUIDE] This tutorial assumes all you know is Java, but you want to learn Kotlin.
lyricist - π The missing I18N/L10N (internationalization/localization) multiplatform library for Jetpack Compose!
BottomNavChildFragmentExample - An example showing how to use bottom navigation with child fragments.
orbit-mvi - A simple MVI framework for Kotlin Multiplatform and Android
sunflower - A gardening app illustrating Android development best practices with migrating a View-based app to Jetpack Compose.
navigation-compose-typed - Type-safe arguments for Jetpack Navigation Compose using Kotlinx.Serialization