Wanandroid open source project

Time:2022-5-7

Quickly create an Android client with good experience. The original version is Java, and the current project is a mixed version with clear hierarchy and clear annotations. The project stability and UI have been greatly improved compared with the initial version. If you still feel good, just order a star (the project is continuously upgrading)

introduce

Wanandroid project architecture is based on material design + ViewModel + viewbinding + rxhttp + room + glide. Compared with MVP mode, it reduces redundant code, encapsulates ViewModel and viewbinding, and has higher decoupling line. Team development is low-cost, quick to start, clear and easy to understand.

Preview

Wanandroid open source project

image.png
Wanandroid open source project

image.png
Wanandroid open source project

image.png
Wanandroid open source project

image.png
Wanandroid open source project

image.png

Skill points

  • The project tries its best to follow Alibaba Android development specifications and has good comments
  • Using rxhttp for network request, the team has low development cost and encapsulates okhttp and rxjava
  • Reduce redundant code with lamda expressions
  • Encapsulating the ViewModel enables one-to-one to become many to one, many to many
  • Discard kotlin extension, butknife, and encapsulate viewbinding for ID search
  • Using room database is more efficient and secure
  • Lifecycle Management
  • Use smartrefreshlayout’s rich refresh animation to enhance the beauty of the project
  • See clone for more

edition

v1.5.0

1. Add a search bar on the home page
2. Add login registration page
3. Solve the crash bug of sub thread query database view refresh
4. Gradle unified dependency configuration

v1.4.0

1. Today’s headlines are fully adapted to the UI
2. Optimize the display effect of tabrayout
3. The view module Java is fully transformed into kotlin

v1.3.0

1. Discard butterknifer and kotlin extension
2. Encapsulate viewbinding to find ID

v1.2.0

1. Navigation bar bipolar linkage
2. Solve the problem of database upgrade
3. Use thread pool database to find and refresh

v1.1.0

1. The navigation bar page is completed
2. Add departure module (dry goods concentration camp API)
3. Clear cache function

v1.0.1

1. Construction of “project” module
2. Optimize the search box
3. Search hot word display

v1.0.0

1. Main interface framework construction
2. Add header layout banner
3. list of official account
4. Beautification of UI
5. Submission of the first edition

Provided by Hongyang great God

WanAndroid API

Dry goods concentration camp

Meizi API

Rxhttp is the most elegant network request encapsulation

Rxhttp

Image Loader

Glide

UI

SmartRefreshLayout
Alibaba vector Gallery

Project address

https://github.com/283006603/jetpack-WanAndroid