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.
I want to make a data class in order to send data via post...but internal declaration of Api interface not allows me to archieve this. If I remove internal declaration,...
Hi, Currently I found that You do it this way ``` val job = async(CommonPool) { run(params) } launch(UI) { onResult.invoke(job.await()) } ``` Can we just create one coroutine here...
Hi @android10, long time no see :) I really enjoyed reading the new post, this seems pretty lean but also robust approach. Wanted to ask about the `Either` type. I...
> moviesViewModel = viewModel(viewModelFactory) { > observe(movies, ::renderMoviesList) > failure(failure, ::handleFailure) > } Taking this example, this viewmodel moves to the method _renderMoviesList_ on success and _handleFailure_ on failure. But...
In a real-world app, there will be many features. Currently the `ViewModelModule` is responsible to provide all the `ViewModel`s, is it better that each feature gets its `ViewModel`s from its...
The actual feature package (login or movies) contain all class of the feature. I think it doesn't reflect the "clean architecture" responsability split. I know it's a sample project but...
I've read [article]( https://fernandocejas.com/2015/07/18/architecting-android-the-evolution/) and definitely support an idea of modularization. Looking at the sample app I was wondering why don't move `login `and `movies `features into separate modules? From...
When double tapping one of the movie item and coming back, the picture disappear. [Here is a video of it](https://youtu.be/nSL0Kg1cJ7s)
first of all great job @android10 . I discovered this issue while running the app. Issue scenario: apply plane mode -> run app -> No network state is present ->...