-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9f083bc
commit a2bb2db
Showing
17 changed files
with
169 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,85 @@ | ||
# WanAndroidMVVM | ||
打造一款MVVM+LiveData+ViewModel+RxJava+okHttp+Retrofit+Glide的Kotlin版本的WanAndroid客户端 | ||
|
||
# WanAndroid-Kotlin 项目 | ||
根据鸿神提供的[WanAndroid开放Api](https://www.wanandroid.com/)来制作的WanAndroidApp, 基本实现了所有的功能,使用kotlin语言开发,基于Material Design+AndroidX + MVVM + ViewModel + LiveData + RxJava + Retrofit等优秀的开源框架,实现的一个尽可能体验较佳的App,自己也是初学Kotlin,Kotlin语法不足之处也请大家批评指正 | ||
|
||
## 项目地址 | ||
[WanAndroid(github)](https://github.com/wangjianxiandev/WanAndroidMvvm) (**欢迎大佬们star**) | ||
## 下载体验 | ||
## 当前版本(1.0) | ||
|
||
## 项目展示 | ||
![在这里插入图片描述](https://img-blog.csdnimg.cn/20200306155603650.gif) | ||
![在这里插入图片描述](https://img-blog.csdnimg.cn/20200306155729951.jpg?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM5NDI0MTQz,size_16,color_FFFFFF,t_70) | ||
![在这里插入图片描述](https://img-blog.csdnimg.cn/20200306155743511.jpg?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM5NDI0MTQz,size_16,color_FFFFFF,t_70) | ||
![在这里插入图片描述](https://img-blog.csdnimg.cn/20200306155752391.jpg?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM5NDI0MTQz,size_16,color_FFFFFF,t_70) | ||
![在这里插入图片描述](https://img-blog.csdnimg.cn/2020030615580032.jpg?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM5NDI0MTQz,size_16,color_FFFFFF,t_70) | ||
![在这里插入图片描述](https://img-blog.csdnimg.cn/20200306155806302.jpg?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM5NDI0MTQz,size_16,color_FFFFFF,t_70) | ||
![在这里插入图片描述](https://img-blog.csdnimg.cn/20200306155816230.jpg?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM5NDI0MTQz,size_16,color_FFFFFF,t_70) | ||
![在这里插入图片描述](https://img-blog.csdnimg.cn/20200306155824475.jpg?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM5NDI0MTQz,size_16,color_FFFFFF,t_70) | ||
![在这里插入图片描述](https://img-blog.csdnimg.cn/20200306155830660.jpg?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM5NDI0MTQz,size_16,color_FFFFFF,t_70) | ||
|
||
## 项目功能 | ||
### 首页 | ||
- 首页文章列表 | ||
- 首页banner | ||
- 搜索热词(包含在搜索界面) | ||
- 置顶文章 | ||
|
||
### 知识体系 | ||
- 体系数据 | ||
- 知识体系下的文章 | ||
|
||
### 导航 | ||
- 导航数据 | ||
|
||
### 公众号 | ||
- 获取公众号列表 | ||
|
||
### 项目 | ||
- 项目分类 | ||
- 项目列表数据 | ||
|
||
### 登录与注册 | ||
- 登录、注册功能 | ||
|
||
### 收藏 | ||
- 收藏文章列表 | ||
- 取消收藏 | ||
|
||
### 搜索 | ||
- 首页文章搜索 | ||
- 关键词搜索 | ||
- 搜索历史记录 | ||
|
||
|
||
### ToDo | ||
- 添加Todo | ||
- 完成Todo | ||
- 更新Todo | ||
- 删除Todo | ||
|
||
### 设置 | ||
- 清除缓存 | ||
- 版本信息 | ||
- 关于我们 | ||
- 退出登录 | ||
|
||
|
||
### 特别感谢 | ||
- 感谢鸿洋大神的[WanAndroid网站提供开放Api](https://www.wanandroid.com/) | ||
|
||
### 开源 | ||
- [异步事件处理-RxJava2](https://github.com/ReactiveX/RxJava) | ||
- [网络请求的框架-Okhttp](https://github.com/square/okhttp) | ||
- [网络加载框架-Retrofit](https://github.com/square/retrofit) | ||
- [转换json数据的官方框架-Gson](https://github.com/google/gson) | ||
- [事件发布-Eventbus](https://github.com/greenrobot/EventBus) | ||
- [可扩展的对话框-Material-dialogs](https://github.com/afollestad/material-dialogs) | ||
- [WebView的一个强大的库-Agentweb](https://github.com/Justson/AgentWeb) | ||
- [Android流式布局-FlowLayout](https://github.com/hongyangAndroid/FlowLayout) | ||
- [图片加载-Glide4](https://github.com/bumptech/glide) | ||
- [下拉刷新-SmartRefreshLayout](https://github.com/scwang90/SmartRefreshLayout) | ||
- [轮播图-banner](https://github.com/youth5201314/banner) | ||
- [控件绑定-butterknife](https://github.com/JakeWharton/butterknife) | ||
- [纵向导航-verticalTabLayout](https://note.youdao.com/) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":1,"versionName":"1.0","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:width="24dp" | ||
android:height="24dp" | ||
android:viewportHeight="1024.0" | ||
android:viewportWidth="1024.0"> | ||
<path | ||
android:strokeColor="#e6e6e6" | ||
android:strokeWidth="80" | ||
android:pathData="M761.4,136.9C588.3,90.9 512,238.2 512,238.2 512,238.2 435.7,90.9 262.6,136.9 89.6,183 -5.3,414.9 208.7,623 422.7,831.1 512,910.2 512,910.2 512,910.2 601.3,831.1 815.3,623 1029.3,414.9 934.4,183 761.4,136.9"/> | ||
</vector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<shape xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<corners android:radius="10dp"/> | ||
<corners android:radius="20dp"/> | ||
<solid android:color="@color/white"/> | ||
</shape> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item android:state_pressed="false"> | ||
<shape> | ||
<corners android:radius="20dp" /> | ||
<solid android:color="@color/white" /> | ||
</shape> | ||
</item> | ||
<item android:state_pressed="true"> | ||
<shape xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<corners android:radius="20dp" /> | ||
<solid android:color="@color/textTipColor" /> | ||
</shape> | ||
</item> | ||
</selector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.