architecture-components-samples
accompanist
Our great sponsors
architecture-components-samples | accompanist | |
---|---|---|
26 | 15 | |
23,267 | 7,211 | |
0.3% | 1.3% | |
2.3 | 8.3 | |
4 months ago | 27 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.
architecture-components-samples
-
I need a repo with a modern and advanced architecture for an Android project. Can you help me?
https://github.com/android/architecture-components-samples/ was historically better
-
Architecture Help
uh, maybe https://github.com/android/architecture-components-samples/tree/a87535608564103423415baddb1e586f0337be44/LiveDataSample/app/src/main/java/com/android/example/livedatabuilder
-
What's new in Android dev in the last 3-5 years?
But Google invented a set of guidelines in "Guide to App Architecture" in 2017 which you can see here in action that after the re-org the new devrels didn't really understand so they ended up making their own version of "clean architecture" where the data layer depends on the domain layer and not vice versa, + never learned how top-level layering like this doesn't even scale ever and they should be creating components, not "layers".
- What are some of the best open source projects for beginners, where they can learn best practices for code and also contribute to.
-
How do YOU personally learn & understand new libraries & best practices?
5.) check the https://github.com/android/architecture-components-samples/ repo for samples (if it is a Google library, and only for some things)
-
Jetpack Navigation and Swapping tabs animations
When I take the advanced navigation project and update it's dependency to navigation 2.4.0 we get the working backstack as shown here.
-
Example for restoring data when navigating to previous fragment using navigation component.
That's still an issue .
- Cautious: LiveData Transformation Functions are Performed in MainThread
-
Handling errors with coroutines seem convoluted. !.
Hey guys, Im trying to recognise more about api calls in a contemporary architecture. I am using retrofit with livedata/coroutines to make my api calls, but I'm struggling with error handling. Most of the solutions I find, even in googles own example, includes writing a wrapper around your api request and handle the error that. It seems overly complicated and frankly stupid to do something like that for, what I consider at least, rudimentary functionality. Even with Dart/Flutter, google has made this easy with async/await and Futures. Am I being lazy to think that if even google needs to write extra code to solve a common use case, they should probably add it to the framework? I dont know, maybe I just needed venting.. what do you think? google's project: https://github.com/android/architecture-components-samples/tree/master/GithubBrowserSample
-
I'm a vegetarian. I could go vegan, but there are a couple of types of cheese I can't live without. Here's the list.
/uj if you're reeeeaaaalyyyy interested, I found them here lol
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?
workflow-kotlin - A Swift and Kotlin library for making composable state machines, and UIs driven by those state machines.
compose-samples - Official Jetpack Compose samples.
Learn-Jetpack-Compose-By-Example - 🚀 This project contains various examples that show how you would do things the "Jetpack Compose" way
tivi - Tivi is a TV show tracking Android app, which connects to trakt.tv
datmusic-android - Music search, downloader & player app using Jetpack Compose
nowinandroid - A fully functional Android app built entirely with Kotlin and Jetpack Compose
lyricist - 🌎 The missing I18N/L10N (internationalization/localization) multiplatform library for Jetpack Compose!
android-mvvm-dagger-rxjava-retrofit - A sample project which demostrate use of MVVM and Dagger 2 with RxJava2 along with Retrofit
simple-stack - [ACTIVE] Simple Stack, a backstack library / navigation framework for simpler navigation and state management (for fragments, views, or whatevers).
jetpack-navigation-ftue-sample - [DEMO] Sample code to display "First-Time User Experience" in a Single-Activity app using Jetpack-Navigation, NavGraphs, Dagger, SavedStateHandle, Hilt, and EventEmitter - based on the FTUE example code in simple-stack-tutorials, but originally described by Google.
orbit-mvi - A simple MVI framework for Kotlin Multiplatform and Android