RepoExplorerMVVM

The open source GitHub client for android built using MVVM design pattern, reactive programming with LiveData, repository pattern, Room Persistence Library.
Features: Pagination, caching search results and option to add bookmarks.
Code is packaged by feature. Data package contains local database model classes, web service and repository which is used as a single source of truth.
UI package contains VIEW (Activities) and VIEW MODEL (AndroidViewModel)code for each screen in the app. VIEW MODEL don’t hold any references to the VIEW or the MODEL classes in data package so the code is modular and it is easy to change the screens and add features.
LiveData is used to communicate between app layers. Any changes in the MODEL layer are propagated via LiveData to VIEW MODEL and then to the VIEW layer.
In Utils class there is Configuration interface in which you can configure default search term, results per page and for how long should results be kept in local cache, before trying to update with new ones.

Check it on GitHub: https://github.com/giantturtle/RepoExplorerMVVM

and on Google Play Store:

en_generic_rgb_wo_60

 

Leave a comment