The project address
Awesome – WanAndroid V1.2.0
Awesome-WanAndroid
WanAndroid is dedicated to creating an ultimate experience where knowledge and beauty can coexist.≧ del ≦) better awesome-wanAndroid V1.2.0 official release, compared to the initial version, the stability of the project and the beautification of the interface has been upgraded several grades, if you think it is still good, click a Star!
Introduction
Awesome WanAndroid project is based on Material Design + MVP + Rxjava2 + Retrofit + Dagger2 + GreenDao + Glide
This is a will let you feel very nice technology learning APP, the technology basically covers the current Android development commonly used in the mainstream technology framework, reading content mainly for Android development to become an expert in the field of friends.
WanAndroid Architecture
Reference toBest practices for designing MVP architectures
Tips:
-
Android Studio prompts missing Dagger class, can compile project directly, will be generated automatically by Dagger2
-
There are still some imperfections in this project. If you find any bugs, please welcome issue, Email([email protected]) and PR
-
All the apis in the project are from WanAndroid website. They are for learning and sharing and shall not be used for commercial purposes. If you have any questions or suggestions, please contact [email protected]
Preview
Apk Download (Android 5.0 or above it)
Skill points
-
The project code tries its best to follow the Alibaba Java development specification and Alibaba Android development specification, and has good notes.
-
Network requests are made using Rxjava2 in conjunction with Retrofit2.
-
The Compose operator is used in conjunction with the RxUtils utility class to simplify the number of code calls for thread switching.
-
MVP mode is implemented more efficiently using Dagger2 to inject Model into Presenter without coupling and Presenter into View.
-
Integrated management of the lifecycle of event stream subscriptions is done using BasePresenter.
-
The Behavior collection ToolBar in Material Design is used to achieve a responsive “up and down” effect.
-
Hover buttons that slide to the top are used in many places to enhance the convenience of reading.
-
Take your project’s beauty up a notch with SmartRefreshLayout’s rich refresh animations.
-
Tencent Bugly was used for Bug fixes and CI for the project.
-
Dazzling animation and special effects are used in many parts of the project.
-
Clone this project for more information…
Version
: zap: v1.2.0
1. Add a setting module
2. Isolate common web interfaces
3. Add item labels
4. Beautify the details menu
5. Add an ActivityOption jump animation
6. Solve more than 90% of memory leaks
v1.1.0
1. Add RxBus subscription management to resolve RxBus memory leaks
2. Solve the problem that Webview can not be loaded sometimes
3. Add RxPermission to handle Android 6.0 permission issues
4.Base response Base class generization, reduce a lot of entity code
5. Added knowledge classification navigation details page
6. Add and delete search records on the search page, making the UI more beautiful
7. Overall UI beautification of the project
v1.0.1
1. Rationalize the project subcontracting structure
2. Optimize the search module
3. Add automatic login
4. Add TabLayout intelligent linkage RecyclerView
5. Add an immersive status bar
6. Optimize the detail article menu style
7. Overall UI beautification of the project
V1.0.0
1. Submit the first version of Awesome WanAndroid
Thanks
API:
WanAndroid API provided by Hon Yang Da
The APP:
GeekNews provides an architectural idea of how Dagger2 works with MVP
Toutiao provides the MD special effects implementation ideas
Diycode provides intelligent sliding suspension button implementation ideas
Eyepetizer- In -Kotlin provides the idea of search interface switching effects
In addition, also referred to a lot of domestic and foreign cattle project, thanks to open source!
The UI design:
Petal provides a beautiful UI design, thanks to petal
Icon:
Iconfont is a great icon resource that Alibaba opens to the outside world
Excellent third-party Open Source Library:
Rx
Rxjava
RxAndroid
Network
Retrofit
OkHttp
Gson
Image Loader
Glide
DI
Dagger2
ButterKnife
DB
GreenDao
UI
SmartRefreshLayout
Lottie-android
There are some excellent third-party open source libraries not listed above, thanks to open source, we wish to grow together
License
Copyright 2018 JsonChao
Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at
www.apache.org/licenses/LI…
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.