![]() ![]() And the model layer with the Repositories.I have the presentation layer with the Activities, Fragments and ViewModels.You can check it on the github repo I created.įirst of all, I would like to show how I made the packages structure of the project: The application I have developed is quite simple: it has one screen with a paginated RecyclerView that shows a list of cryptocurrencies using the CoinMarketCap api. And this is my vision of how to accomplish that, there are another better ways, for sure, and I can’t wait to read them on the comments :) There is nothing better than a decoupled, testable and maintainable code. In this post I’m going to show how this components can be used in an application with a MVVM architecture and, of course, in Kotlin. Finally Google showed the Android Developers a way to develop our applications in a clean and reactive way. The last Google I/O the new architecture components for Android were presented. Android clean architecture with ViewModel, UseCases and Repositories: Part 1
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |