Modular Open Source Android project (Novel Reader) – Based on Android-Showcase (Github 4K + framework)
reader
Github, a free novel reading App
Single module version App Github address
Multi-module version App Github address
Refer to the project
1. Android-showcase Modular MVVM development Android-Showcase
2.Pokedex Single-project MVVM, Flow Pokedex
2.NovelReader Is based on NovelReader, an improved book tracking App from NovelReader
FreeNovel Is a free Android fiction app based on Kotlin
4.OKBook Kotlin + Coroutine + MVVM mode to write novel reading APP OKBook
Application show
Application profile
Novel reader (modular development, based on Kotlin+MVVM+Hilt+Retrofit2+OkHttp3+Jsoup+Coroutines+Jetpack+Coil+Room and other architecture implementation), rewrote the reading module code of “Ren Read” with Kotlin, optimization, code logic, Reduce memory usage. Support network reading, local reading. Support anti-true page turning, scrolling up and down page turning effect, support novel break point continuation function.
Currently available features:
(1.
- Support book city switch (currently supported, full text reading network, pen Quge).
- Support novel classification switch.
- Support search novel by title and author.
- Support to view the novel introduction.
- Support for fiction subscriptions
- Support direct online reading
2. The shelf
- Unsubscribe
- Support search bookshelf
- Support for subscribing to local books (currently only.txt)
- Support local reading
3. Personal configuration
- Clear the cache
- Jump is making
4. Read
- Catalogue (Fiction catalogue)
- Brightness (Set reader brightness, day/night mode)
- Cache (Download novel to local)
- Settings (font, size, page-turning mode, background image)
Features to be added but not yet:
1. Hide the book city 2. Try to support thick ink source 3. Support voice readingCopy the code
Note: this project is maintained and updated from time to time. If there is any infringement, please inform my younger brother and delete it immediately
The following is framework related
Project characteristics
• Small applications based on the modern Android application technology stack and MVVM architecture. • The project focuses on Hilt, a new library that implements dependency injection. • You can also retrieve data from the network and integrate persistent data into the database through the repository patternCopy the code
Technology stack
• Minimum SDK level 21 • Kotlin based, Coroutines + Flow for asynchronous. • Hilt (alpha) for dependency injection. • JetPack ○ LiveData- Notifies the view of domain layer data. ○ Lifecycle- Discard observed data when the Lifecycle status changes. ○ ViewModel- UI-related data holder with lifecycle awareness. ○ Room Persistence- Use abstraction layer to build database. • Retrofit2 and OkHttp3- Constructs REST apis and paging network data. • Moshi-Kotlin and Java's modern JSON library. • Coil - Image-loading library using Kotlin's preferred API • Bundler -Android Intent and Bundle extensions that gracefully insert and retrieve values. • Material-Components- Material design Components, such as ripple animation, cardView. • Custom view ○ Rainbow- An easy way to gradient and color for Android. ○ AndroidRibbon- An easy way to achieve beautiful areas of functionality on Android through flickering. ○ ProgressView- Beautiful and flexible ProgressView, can be fully customized through animation.Copy the code
architecture
Based on MVVM architecture and repository patterns