Code Monkey home page Code Monkey logo

mvp's Introduction

MVP

App based on Material Design + MVP + Rxjava + Retrofit + Okhttp + Glide

The 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, email[email protected], If it help you welcome star, fork. This project only do study and communication

Blog (details): http://www.jianshu.com/p/d98013e0cd03

QQ group: 482866708

Preview

  1. The overview (list)
  2. Image selector and expression keyboard (support dynamic expression and emoji expressions, etc.)
  3. Night and day mode switching
  4. TV
  5. 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

  1. Add aop
  2. Continue to optimize
  3. There are many to do。。。

Thanks

Zhihu Daily API     WeChat API     T-MVP

mvp's People

Watchers

annlei avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.