https://github.com/onlyloveyd/GankIOWithKotlin
Using Kotlin to realize GankIOClient
https://github.com/onlyloveyd/GankIOWithKotlin
flycotablayout gson kotlin kotlin-android retrofit2 rxjava2
Last synced: 3 months ago
JSON representation
Using Kotlin to realize GankIOClient
- Host: GitHub
- URL: https://github.com/onlyloveyd/GankIOWithKotlin
- Owner: onlyloveyd
- Created: 2017-05-19T13:55:49.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-05-13T09:06:09.000Z (almost 5 years ago)
- Last Synced: 2024-08-04T11:03:00.431Z (7 months ago)
- Topics: flycotablayout, gson, kotlin, kotlin-android, retrofit2, rxjava2
- Language: Kotlin
- Size: 26.4 MB
- Stars: 27
- Watchers: 5
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 技术船
每日提供技术干货的App,Kotlin语言实现,实际上是从之前的项目转换过来的,直接转换是无法正常编译的,按照Kotlin的语言规范进行了大量的修改。
Java代码实现干货集中营请转到[干货集中营](https://github.com/onlyloveyd/GankIOClient)## 干货数据源
应用中的所有干货数据均来自[干货集中营](http://gank.io/)。## App设计
色调:远州鼠、落栗、苏芳、石竹、枯草、柳煤竹茶、锖青磁、鸠羽紫八种淡雅的颜色,分别对应不同的干货数据。
布局:简约风格,极简主义,去繁就简。
排版:最简单的Toolbar + RecyclerView## UI设计
1. 黑白灰
2. 圆角
3. 材料设计## 代码设计
1. Retrofit+RxJava 的组合获取网络数据;
2. FlycoTabLayout作为主界面结构,配合Fragment,实现“每日干货”,“分类数据”,“妹纸图片”和关于四个界面;
3. BGARefreshLayout配合RecyclerView和自定义多类型Item结构实现干货数据的展示;
4. MaterialAbout作为“关于”界面的基础;
5. Glide作为图片加载框架;
6. RxJava+Retrofit配合fir.im的接口实现版本更新功能;
7. Share功能全部采用系统自带,基本可以满足需求。
8. ButterKnife注解库
9. Gson作为json数据解析库
## 依赖库
* [Glide](https://github.com/bumptech/glide)
* [RxAndroid](https://github.com/ReactiveX/RxAndroid)
* [RxJava](https://github.com/ReactiveX/RxJava)
* [Retrofit](https://github.com/square/retrofit)
* [okhttp3](https://github.com/square/okhttp)
* [Gson](https://github.com/google/gson)
* [ButterKnife](https://github.com/JakeWharton/butterknife)
* [BGARefreshLayout-Android](https://github.com/bingoogolapple/BGARefreshLayout-Android)
* [FlycoTabLayout](https://github.com/H07000223/FlycoTabLayout)
* [MaterialAbout](https://github.com/jrvansuita/MaterialAbout)## Author
* [CSDN](http://blog.csdn.net/poorkick)
* [Website](http://www.onlyloveyd.cn/)
* [掘金](https://juejin.im/user/583e860867f356006bbedb90)
* ## 效果图



