![]() View - is responsible for interaction with the user.A module can be used by Presenter or by other module. Data objects, which are used by low-level storages, should be transformed to Domain layer's entities inside this layer. Other module classes, which contains details of the implementation, should not be used by other parts of application. Every module contains class, which provide access to functionality of this module. Interactor layer consists of loosely bound modules, each of which has a well defined responsibility. Api of this layer should not depend on Android Framework and other libraries, besides infrastructural libraries like RxJava. This layer provides access to data storages and other services. Interactor - contains inner application's logic.Domain - contains enterprise wide business rules, for most app this layer contains only core entities.The architecture is a simplified version of CleanArchitecture. ![]() This application can automatically change device settings when specified conditions is fulfilled and return previous settings when conditions ceases to be fulfilled ( Download apk minSdkVersion 21) Architecture If you are not familiar with Dagger and MVP, I recommend first get acquainted with the less complex projects ( ) link2 link3 Simple MVP (how implement advanced MVP see Ferro library).CleanArchitecture (simplifyed for Android). ![]() This project demonstrates how to make complex Android application with good architecture It contains modules and architectural guidance, which is used for developing Android projects by mobile studio Surf. You can find more mature architecture in Surf Android Standard repository (Documentation in Russian). ** THIS REPO IS DEPRECATED AND IS NO LONGER BEING ACTIVELY MAINTAINED **
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |