MCPcopy Index your code
hub / github.com/Jerey-Jobs/KeepGank

github.com/Jerey-Jobs/KeepGank @1.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.2 ↗ · + Follow
780 symbols 1,977 edges 97 files 242 documented · 31%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

KeepGank

一款Gank客户端,希望大家保持学习的动力


主体

RxJava + Retrofit + Glide + DiskLruCache + Material-Design

缘由

本着学习MD军火库的目的, 外加练习一下使用第三方框架, 毕竟在公司很少使用第三方的框架. 于是写了个Gank.io客户端. 本打算写一个笑话大全类的客户端, 想着代码家大神比那些第三方网站靠谱的多. 其实都一样. 不如写Gank.io了

仓库 (希望大家多多Star)

https://github.com/Jerey-Jobs/KeepGank

APK下载

App下载链接

当前功能

  • 主页为Gank分类
  • 每日Gank
  • 我的博客)
  • Disk数据缓存,避免下次打开时无网络, 加载老数据
  • 图片大图浏览效果
  • 图片保存
  • 内置浏览器
  • 瀑布流妹子
  • 内容分享
  • 夜间模式

后续希望功能: - 图片分享 - 浏览器设置 等等各种App内置功能

总之我会一直更新下去的, 大家也可以fork, 多多帮我提建议.提PR

预览

夜间模式:

总之, 希望大家多多star, 一起进步

ps: 后续我可能还是会加上笑话大全功能


本文作者:Anderson/Jerey_Jobs

博客地址 : 夏敏的博客/Anderson大码渣/Jerey_Jobs

简书地址 : Anderson大码渣

github地址 : Jerey_Jobs

目前用到的依赖有:

``` gradle //Google的json解析库 compile 'com.google.code.gson:gson:2.2.4' //一个滑动返回库 compile 'me.imid.swipebacklayout.lib:library:1.0.0' //注解绑定 compile 'com.jakewharton:butterknife:7.0.1' //日志库 compile 'com.orhanobut:logger:1.3' //图片加载库 compile 'com.github.bumptech.glide:glide:3.5.2'

compile 'io.reactivex:rxandroid:0.24.0'

//严格控制由于发布了一个订阅后,由于没有及时取消,导致Activity/Fragment无法销毁导致的内存泄露的库
//http://www.jianshu.com/p/a3ad9dd20655
compile 'com.trello:rxlifecycle:0.3.0'
compile 'com.trello:rxlifecycle-components:0.3.0'

//rmlite、greenDao、SugarORM等等,这些orm框架基本都是基于sqlite的。
//Realm,是用来替代sqlite的一种解决方案,它有一套自己的数据库存储引擎,比sqlite更轻量级,拥有更快的速度,最重要的是跨平台
compile 'io.realm:realm-android:0.87.0'

//添加retrofit
compile 'com.squareup.retrofit2:retrofit:2.0.0-beta4'
compile 'com.squareup.retrofit2:converter-gson:2.0.0-beta4'
compile 'com.squareup.retrofit2:adapter-rxjava:2.0.0-beta4'

//Time
compile 'joda-time:joda-time:2.8.2'

```

Extension points exported contracts — how you extend this code

IDynamicNewView (Interface)
Created by _SOLID Date:2016/4/14 Time:10:26 [6 implementers]
themelib/src/main/java/com/jerey/themelib/IDynamicNewView.java
IData (Interface)
Created by Xiamin on 2017/2/12. [2 implementers]
app/src/main/java/com/jerey/keepgank/data/IData.java
ISkinUpdate (Interface)
Created by _SOLID Date:2016/4/13 Time:20:48 Theme Update [2 implementers]
themelib/src/main/java/com/jerey/themelib/ISkinUpdate.java
OuterMatrixChangedListener (Interface)
外部矩阵变化事件通知监听器
app/src/main/java/com/jerey/keepgank/View/PinchImageView.java
ISkinLoader (Interface)
Created by _SOLID Date:2016/4/13 Time:20:47 用来添加、删除需要皮肤更新的界面以及通知界面皮肤更新 [2 implementers]
themelib/src/main/java/com/jerey/themelib/loader/ISkinLoader.java
ImageSaveListener (Interface)
(no doc) [1 implementers]
app/src/main/java/com/jerey/keepgank/utils/ImageSave.java
SkinLoaderListener (Interface)
Created by _SOLID Date:2016/4/13 Time:21:07 Desc: [1 implementers]
themelib/src/main/java/com/jerey/themelib/SkinLoaderListener.java
GankCloudService (Interface)
(no doc)
app/src/main/java/com/jerey/keepgank/net/GankApi.java

Core symbols most depended-on inside this repo

size
called by 45
lrucache/src/main/java/com/jerey/lruCache/DiskLruCache.java
add
called by 42
themelib/src/main/java/com/jerey/themelib/loader/TextViewRepository.java
get
called by 39
app/src/main/java/com/jerey/keepgank/utils/SPUtils.java
isEmpty
called by 34
themelib/src/main/java/com/jerey/themelib/utils/SkinListUtils.java
remove
called by 31
app/src/main/java/com/jerey/keepgank/utils/SPUtils.java
i
called by 30
themelib/src/main/java/com/jerey/themelib/utils/SkinL.java
write
called by 24
lrucache/src/main/java/com/jerey/lruCache/DiskLruCache.java
getResources
called by 22
themelib/src/main/java/com/jerey/themelib/loader/SkinManager.java

Shape

Method 657
Class 115
Interface 8

Languages

Java100%

Modules by API surface

app/src/main/java/com/jerey/keepgank/View/PinchImageView.java72 symbols
lrucache/src/main/java/com/jerey/lruCache/DiskLruCache.java57 symbols
app/src/main/java/com/jerey/keepgank/View/BaseItemAnimator.java33 symbols
app/src/main/java/com/jerey/keepgank/realm/RealmImage.java26 symbols
themelib/src/main/java/com/jerey/themelib/loader/SkinManager.java21 symbols
lrucache/src/main/java/com/jerey/lruCache/DiskLruCacheManager.java21 symbols
app/src/main/java/com/jerey/keepgank/bean/Result.java21 symbols
app/src/main/java/com/jerey/keepgank/net/GankApi.java17 symbols
app/src/main/java/com/jerey/keepgank/adapter/DayFragmentAdapter.java17 symbols
app/src/main/java/com/jerey/keepgank/fragment/BaseFragment.java16 symbols
app/src/main/java/com/jerey/keepgank/fragment/ListFragment.java15 symbols
app/src/main/java/com/jerey/keepgank/activity/ThemeChooseActivity.java15 symbols

For agents

$ claude mcp add KeepGank \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page