Because I like the dark night mode of The book, I adapted the dark night mode of the articles on nuggets/Book /CSDN/ public number/Playing Android to remove advertisements, focus on the content of the article and improve the reading experience.

Specific adaptation

  • Simple book: Night mode, remove folding, expand the full text directly, remove the head and tail, go advertising
  • Nuggets: Night mode, head and tail removed
  • Play Android: Night mode, remove header, right toolbar, daily ask cookie sync, like function
  • CSND: Night mode, fold removed, AD removed, head and tail removed
  • Public account: Night mode

The project address

Github.com/iamyours/Wa…

Apk download address

Download address v1.0.0 historical version

rendering

Nuggets of gold/Brief notes /CSDN



Play Android daily Q&A, project articles


The public,





The project architecture

MVVM+Room implements the network using LiveData+Retrofit(without RxJava), routing as SimpleRouter (based on Transform implementation, without reflection, back mediation) and decouping the business logic using ViewModel+DataBinding.

Sorting out related articles

Night mode adaptation MVVM mode encapsulation practice LiveData+Retrofit network request actual fighting based on Transform to achieve more efficient componentized routing framework to create a simple version of ARouter framework