GeekNews, A pure reading App based on Material Design + MVP + RxJava + Retrofit + Dagger2 + Realm + Glide

Geek Daily is a pure reading App based on Material Design + MVP + RxJava + Retrofit + Dagger2 + Realm + Glide

For the purpose of learning, I made this simple reading application with Material Design style, which basically covers the most commonly used mainstream framework of current Android development. The reading content currently includes Zhihu Daily, wechat Select, Dry goods Concentration Camp, knowledge, news and welfare, and will be updated continuously in the later stage. Continue to practice the latest technology on this project, and strive to expand the reading content

This project is still in the testing stage, if you find bugs or have good suggestions, please welcome issue, email([email protected]), PR. If you feel helpful, you are also welcome to click star and fork. This project is only for learning and communication, and the API data content is owned by the original company. Do not use it for other purposes

Preview



Download APK

Points

  • Make network requests using RxJava in conjunction with Retrofit2
  • Thread operations and network request result processing are encapsulated using RxUtil
  • Use RxPresenter to manage the subscription lifecycle
  • Use RxBus to facilitate communication between components
  • Use other RxJava operators to delay, poll, transform, filter, and so on
  • Use OKHTTP3 to cache network returns, and configure logging, timeout reconnection, and header messages
  • Use Material Design controls and animations
  • MVP architecture for the entire project, corresponding to the model, UI, presenter package
  • Use Dagger2 to inject layer M into layer P and layer P into layer V without new, calling the object directly
  • Use Realm to add, delete, check, and modify reading and favorites records
  • Use Glide to do picture processing and loading
  • Fragmentation simplifies Fragmentation operations and lazy loading
  • Use RecyclerView to achieve pull refresh, pull up loading, side slide delete, long press drag
  • Use WebView to do the reading page, through the modification of its configuration to achieve a variety of required functions
  • Use native night mode, sharing, feedback
  • Including search, favorites, detection updates (not yet implemented) and other functions
  • All potholes are annotated in the project

Version

V1.0

1. Submit the first version

Thanks

API:

Zhihu Daily API
Wechat select API
Dry goods concentration camp API

APP:

Hot
Cicadas daily

RES:

iconfont
material UP

LIB:

/ / UI compile 'com. Android. Support: appcompat - v7:24.1.1' compile 'com. Android. Support: design: 24.1.1' compile 'com. Android. Support: recyclerview - v7:24.1.1' compile 'com. Android. Support: cardview - v7:24.1.1' / / rx compile 'the IO. Reactivex: rxjava: 1.1.0' compile 'IO. Reactivex: rxandroid: 1.1.0' compile 'com. Jakewharton. Rxbinding: rxbinding: 0.4.0' / / network compile 'com. Google. Code. Gson: gson: 2.4' compile 'com. Squareup. Retrofit2: retrofit: 2.0.2' compile 'com. Squareup. Retrofit2: converter - gson: 2.0.2' compile 'com. Squareup. Retrofit2: adapter - rxjava: 2.0.2' compile 'com. Squareup. Okhttp3: okhttp: 3.2.0' compile 'com. Squareup. Okhttp3: logging - interceptor: 3.0.1' compile 'com. Making. Bumptech. Glide: glide: 3.7.0' compile 'com. Making. Bumptech. Glide: okhttp3 - integration: 1.4.0 @ aar' / / di the compile 'com. Google. Dagger: a dagger: 2.0.2' compile 'com. Google. Dagger: a dagger - compiler: 2.0.2' compile 'com. Jakewharton: butterknife: 8.2.1 apt' com. Jakewharton: butterknife - compiler: 8.2.1 'provided 'org. Anyone: javax.mail. Annotation: 10.0 - b28' / / other compile 'com. Umeng. Analytics: analytics: the latest. The integration of' the compile 'com. Orhanobut: logger: 1.15 the compile' me. Yokeyword: fragmentation: 0.7.9 'compile' com. Victor: lib: 1.0.4 compile 'com. Prolificinteractive: material - calendarview: 1.4.0' compile 'net. Opacapp: multiline - collapsingtoolbar: 1.2.2,' the compile 'com. Making. Chrisbanes: PhotoView: 1.3.0' compile 'com. Miguelcatalan: materialsearchview: 1.4.0 / / canary debugCompile 'com. Making. Moduth: blockcanary - android: 1.2.1' releaseCompile 'com. Making. Moduth: blockcanary - no - op: 1.2.1' debugCompile 'com. Squareup. Leakcanary: leakcanary - android: 1.4 beta 2' releaseCompile 'com. Squareup. Leakcanary: leakcanary - android - no - op: 1.4 beta 2' `Copy the code

License

Copyright (c) 2016 codeestX Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.