RickAndMorty-AndroidArchitectureSample
RickAndMorty-AndroidArchitectureSample copied to clipboard
A Rick And Morty simple app to show one approach to using some of the best practices in Android Development.
Upgraded: - Kotlin - Dagger/Hilt - Lifecycle - Appcompat - Coroutines - Room - Navigation - junit
Question
sorry it's not an issue, but i really need help for POST method, how can do POST in viewmodel? if i have username and password
I have a requirement where if there is no data in local database I need to query the network and show a progress bar. If the network returns empty data...
- scenario enter the list of character and do click action - scenario enter detail and load data
I found your article to be very helpful. Thank you. Please add its URL to the repo description or README file. https://itnext.io/android-architecture-hilt-mvvm-kotlin-coroutines-live-data-room-and-retrofit-ft-8b746cab4a06
After calling the function below the query doesn't re-run ```kotlin fun refresh() { repository.getCharacters() } ```
onViewCreated can be called multiple times on fragment lifecycle ( orientation changes ) so this would be cause multiple repository call and unnecessary view changes. SavedStateHandle helps us like this...
This sample architecture really inspired me a lot especially to start a new project. Unfortunately, I've stuck on unit test now. Any chances to work on unit test? I did...
hello, this is a nice repo and i have question for you Is it possible mapping data in DataAccessStrategy.kt like ServiceUser to ViewUser. In my project, there are so many...
Hi there, I've added assist inject for characterId parameters at CharacterDetailViewModel Well tested : 