# WanAndroid **Repository Path**: CKStack/WanAndroid ## Basic Information - **Project Name**: WanAndroid - **Description**: MVP组件化实现玩Android-整体功能实现 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-06-07 - **Last Updated**: 2021-06-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Github项目地址:https://github.com/Peakmain/WanAndroid #### 项目介绍 这是一款基于 wanandroid.com 开发的 MVP + Retrofit + RxJava2 +Dagger2组件化模式开发的一款APP。 #### 背景 其实很多知识以前都写过博客,但是都比较零散,所以打算好好总结下,巩固一下自己的知识体系。刚好鸿洋大神提供了免费的[玩Android接口](https://www.wanandroid.com/),所以准备启程吧。 #### 准备前知识 我直接列出我以前写的一些博客 - [android组件化开发实战](https://www.jianshu.com/p/3395c98f631c) - [自定义View - 玩转字体变色](https://www.jianshu.com/p/7ec99ebf264e) - [android自己动手打造MVP + RxJava2 + Retrofit2 + Dagger2+Arouter模板](https://www.jianshu.com/p/4551529c615e) - [自定义ViewGroup - 第五大布局容器(流式布局)]( https://www.jianshu.com/p/27f47431475e) #### 知识点 - 1.模仿今日头条的首页玩转文字的变色 - 2.MVP + Retrofit + RxJava2 +Dagger2+组件化实现整个项目 - 3.自定义 view模仿实现QQ6.0侧滑菜单效果 - 4.自定义 view实现流式布局 - 5.模仿京东商品分类实现体系分类列表 - 6.模仿简书实现搜索功能 - 7.自己封装实现recycleview的头部添加功能 #### 架构图 ![image.png](https://upload-images.jianshu.io/upload_images/9387746-e5fcb8310e31709a.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240) ![image.png](https://upload-images.jianshu.io/upload_images/9387746-d80ad07db9aa55ec.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240) - BaseLibrary这里我主要放置的是一些基本组件,如dialog封装,popwindow封装,自己写的数据库,下拉刷新头部等 - NetModule毫无疑问主要是网络层的封装,mvp搭建,dagger的使用等 - 剩下的就是业务层,主要看我下面的动态图,主要分为登录,首页,项目,体系,我的 #### 效果图 ![首页.gif](https://upload-images.jianshu.io/upload_images/9387746-e3e1ed6a2cbc43a7.gif?imageMogr2/auto-orient/strip) ![搜索.gif](https://upload-images.jianshu.io/upload_images/9387746-25bf5c485d376dd2.gif?imageMogr2/auto-orient/strip) ![项目.gif](https://upload-images.jianshu.io/upload_images/9387746-60d422c8a85d6495.gif?imageMogr2/auto-orient/strip) ![体系分类.gif](https://upload-images.jianshu.io/upload_images/9387746-dd3a32189fbe8918.gif?imageMogr2/auto-orient/strip) ![image.png](https://upload-images.jianshu.io/upload_images/9387746-66748861b028ee19.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240) ![公众号.gif](https://upload-images.jianshu.io/upload_images/9387746-fe1ea49be53bc3fd.gif?imageMogr2/auto-orient/strip) ![开心一刻.gif](https://upload-images.jianshu.io/upload_images/9387746-9ae6aca5ca5800e6.gif?imageMogr2/auto-orient/strip) #### 使用到的第三方库 - [ButterKnife](https://github.com/JakeWharton/butterknife) - [immersionbar](https://github.com/gyf-dev/ImmersionBar) - [bumptech/glide](https://github.com/bumptech/glide) - [RxJava](https://github.com/ReactiveX/RxJava) - [RxAndroid](https://github.com/ReactiveX/RxAndroid) - [RxPermissions](https://github.com/tbruyelle/RxPermissions) - [logger](https://github.com/orhanobut/logger) - [Retrofit](https://github.com/square/retrofit) - [OkHttp](https://github.com/square/okhttp) - [gson](https://github.com/google/gson) - [Utils](https://github.com/Blankj/AndroidUtilCode) - [ARouter](https://github.com/alibaba/ARouter) - [androidAutosize](https://github.com/JessYanCoding/AndroidAutoSize) - [Dagger2](https://github.com/google/dagger) - [RxLifecycle](https://github.com/trello/RxLifecycle) - [sonic](https://github.com/Tencent/VasSonic) - [banner](https://github.com/youth5201314/banner) #### 致谢 - 感谢鸿洋大神提供的接口和平台 - 感谢各大开源项目的开发者 #### 最后 大家若觉得还不错,还麻烦给个星星,谢谢。后期文章和项目会继续更新,感谢大家支持