您的位置:首页 > 理论基础 > 计算机网络

Android Material Design + MVP + Rxjava + Retrofit + Okhttp + Glide一个小项目

2017-08-09 19:30 543 查看

MVP

项目地址:SuperMan42/MVP

简介:App based on Material Design + MVP + Rxjava + Retrofit + Okhttp + GlideApp based on Material Design + MVP + Rxjava + Retrofit + Okhttp + GlideThe project is based on the idea of simplicity, make development more simple, extract the core library, can be directly introduced to fast development. Project is still in improvement, if you have good suggestions or find any problems welcomeissue, email424346976@qq.com, If it help you welcome star, fork. This project only do study and communicationBlog (details): http://www.jianshu.com/p/d98013e0cd03QQ group: 482866708


中文版 English version

The Android learning data collection

Wiki 使用方法

Preview

The overview (list)



Image selector and expression keyboard (support dynamic expression and emoji expressions, etc.)



Night and day mode switching



TV



Cache(No network)



Download APK (Android 5.0 or above)

Points

Use Rxjava Retrofit2 okhttp to do network requests and caching
RxUtil is used to encapsulate thread handling and network request result processing
Use the RxManager to manage the subscription lifecycle
Use RxBus to do intercomponent communication
Use RxPermissions for android6.0 permission application
Use Material Design controls and animations
Use the MVP architecture throughout the project, and extract the core as a library, import core can save 50% of the code development
Use Glide for image processing and loading
Use Fragmentation to simplify the operation of Fragment and lazy loading
Day and night mode switching
Add image selector(High imitation WeChat) and expression keyboard (support dynamic expression and emoji expressions, etc.)
Encapsulates recyclerview and recyclerviewpager to implement pull-down refresh, pull-up loading and pagerview functionality(Just a few simple code to achieve a variety of lists, no adapter required, no need to design paging load)
Use x5WebView to do the reading page
The head of the daily home page can scroll in circles(Using the rxjava round robin and recyclerviewpager)

Method of use

Import the core library

dependencies {
compile 'com.hpw.mvpframe:core:1.0.0'
}

TODO

Add aop
Continue to optimize
There are many to do。。。

Thanks

Zhihu Daily API     WeChat API     T-MVP
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐