/Knowledge

A MD project with MVP framework :octocat:

Primary LanguageJava

#妹知 是妹知不是妹汁!既有妹子又有知识~(已在360手机助手和应用宝上线,但是应用宝我却搜不到- -知道为啥的告诉我下)

##简介 Knowledge是一个MaterialDesign风格和MVP模式的项目。你可以方便地阅读知乎日报和煎蛋网的新鲜事,还可以浏览妹子图,让我们一起嘿嘿嘿~ 截图

ScreenShots ScreenShots ScreenShots ScreenShots

##可以学到:

  • Android Design库的使用
  • 自定义你的基类Activity
  • 应用MVP模式到项目中
  • 使用Webview时避免内存泄露
  • OKhttp封装框架的用法
  • 用Gson解析网络数据
  • 用Glide加载图片
  • 使用Realm缓存数据
  • 加特效的启动页的写法
  • 设置页的写法
  • 添加Activity的转换特效(对,duang的那种)

使用到的库

dependencies {
    debugCompile 'com.squareup.leakcanary:leakcanary-android:1.3.1' //检测内存泄露
    compile 'com.android.support:design:23.1.1'//design控件库
    compile 'com.bigkoo:convenientbanner:2.0.5'//一个图片轮播控件
    compile 'com.android.support:cardview-v7:23.1.1'
    compile 'com.github.bumptech.glide:glide:3.6.0'//图片加载库
    compile 'com.jakewharton:butterknife:7.0.1'//帮你省去findview
    compile 'com.google.code.gson:gson:2.5'
    compile 'com.zhy:okhttputils:2.2.0'//okhttp封装
    compile 'com.android.support:recyclerview-v7:23.1.1'
    compile 'io.realm:realm-android:0.87.4'//快速、简洁的跨平台数据库
    compile 'com.github.orhanobut:logger:1.12'//漂亮的log工具
}

TODO

  • 代码重构
  • 项目包结构整理
  • 隐藏模式
  • 更换主题

支持我

如果你喜欢这个repository,请我喝杯咖啡,我会更用心让它更完美~ 打开你的微信