下载 APKPure App
可在安卓获取RepoExplorer的历史版本
使用MVVM设计模式构建的开源GitHub客户端。
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 wich 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 Configuretion interface in wich 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 out source code at: https://github.com/giantturtle/RepoExplorerMVVM
Last updated on 2019年04月23日
Added feature to add or delete bookmarks from project details screen, not just from projects list screens (depending on screen user comes from).
RepoExplorer MVVM
1.01 by 2GiantTurtle
2019年04月23日