Android-CleanArchitecture-Kotlin
Android-CleanArchitecture-Kotlin copied to clipboard
This is a movies sample app in Kotlin, which is part of a serie of blog posts I have written about architecting android application using different approaches.
What is the best approach? ``` // Only expose livedata public class MyViewModel extends ViewModel { private MutableLiveData users = new MutableLiveData(); public void loadUsers() { // Do an asynchronous...
First of all, thank you so much for this awesome repository. **I have a question about dependency injection:** You inject MovieDetailsAnimator `@Inject lateinit var movieDetailsAnimator: MovieDetailsAnimator` at line 60, MovieDetailsFragment.kt....
Hi, I'm working on the app which has a complex usecases which require multiple actions to be performed in order to usecase to be completed. Lets, for example, say that...
``` abstract class UseCase where Type : Any { abstract suspend fun run(params: Params): Either operator fun invoke(params: Params, onResult: (Either) -> Unit = {}) { val job = async(CommonPool)...
I heard about the Navigation Component part of the Android Jetpack. Is it worth to use it ? and if yes, how could we apply it with this architecture because...
In meanwhile, I would love to contribute to this repo and refactor current gradle into Kotlin-DSL. But, if there's anyone already refactor it into Kotlin-DSL might want to do a...
Please implement Paging library Using latest Jetpack
Now project is not compiling, as experimental package has been removed from coroutines. Please update it.
Why applicationId, versionCode and versionName are moved to the root build.gradle instead of being in app's build.gradle. Is there any advantage by using this approach?
So there is a repository layer and a user case layer. My use case calls the repository method (which returns either left or right and returns the User object as...