architecture-components-samples
nowinandroid
Our great sponsors
architecture-components-samples | nowinandroid | |
---|---|---|
26 | 58 | |
23,267 | 15,295 | |
0.3% | 4.2% | |
2.3 | 9.6 | |
5 months ago | 2 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
nowinandroid
-
Performance Impact Analysis of Gradle 8.7 in Android Projects
As a simple example, today we will apply a performance test within an experiment on the new Gradle version in the project nowinandroid. The goal is to verify that the update has no impact on our codebase. In the experiment, we will cover the worst-case scenario where all tasks are executed and we don't have build-cache available.
- Kotlin Coroutine-Dispatcher
-
Thx, 👍
So clean and simple! Though I would really advise respectively moving every single dependency AndroidConventionPlugin for added structure, development speed and maintainability. Remember: the true salvation of deprecated dependencies is making sure you always use unstable dependencies!
-
Room DB relationships
Here's an example of Embedded. Pull and look through the database module for ForeignKey and other concepts.
-
Wasn't there a full Android tutorial from Google called "Google Sunshine" weather app?
I remember it. This is a more up to date version from Google: https://github.com/android/nowinandroid There's also lots of sample apps and codelabs on https://developer.android.com/?gclid=CjwKCAjw-IWkBhBTEiwA2exyO7rWOvWd5yxCtFE5tmogy5LvA7HbxqQGpEQZz7_2ke579DPIHN06rhoCa-sQAvD_BwE&gclsrc=aw.ds
-
I need to learn multimodule clean architecture
Check out the NowInAndroid repository: https://github.com/android/nowinandroid
-
What's next after Head First Kotlin?
Also check out https://github.com/android/nowinandroid which is the official app that includes the latest features.
- Architecture Help
- The Great Dane looked more like a horse than a dog.
- Now in Android App – Modularization Learning Journey
What are some alternatives?
workflow-kotlin - A Swift and Kotlin library for making composable state machines, and UIs driven by those state machines.
ivy-wallet - Ivy Wallet is an open-source money manager app for android that you can either build or download from Google Play.
compose-samples - Official Jetpack Compose samples.
android-developer-roadmap - 🗺 The Android Developer Roadmap offers comprehensive learning paths to help you understand Android ecosystems.
tivi - Tivi is a TV show tracking Android app, which connects to trakt.tv
architecture-samples - A collection of samples to discuss and showcase different architectural tools and patterns for Android apps.
android-mvvm-dagger-rxjava-retrofit - A sample project which demostrate use of MVVM and Dagger 2 with RxJava2 along with Retrofit
ComposeCookBook - A Collection on all Jetpack compose UI elements, Layouts, Widgets and Demo screens to see it's potential
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.
iosched - The Google I/O Android App
architecture-components-samples - Samples for Android Architecture Components.
Learn-Jetpack-Compose-By-Example - 🚀 This project contains various examples that show how you would do things the "Jetpack Compose" way