Giter Site home page Giter Site logo

jiandan's Introduction

JianDan客户端高仿版


##效果图

废话不多说,先上效果图

GIF

##项目介绍

对煎蛋客户端进行优化,API用的是煎蛋官方的。

项目虽小,五脏俱全,学习这个项目,你将学到

  • Android Studio开发Android的基本配置
  • 对MD风格的Theme兼容
  • 对Volley网络请求库的封装和自定义
  • Application、Activity和Fragment基类的基本设计
  • MVC架构的使用
  • 对超长图片加载的解决方案
  • WebView与JS通信,及加载本地缓存图片的实现
  • RecyclerView自动加载、加载完成回调,以及item进入动画
  • 多楼层回复自定义控件的实现
  • 严格模式(StrictMode)的设置及用法
  • 使用GreenDao对数据进行本地缓存
  • 对网络状态的实时检测
  • 对UIL的个性化设置、封装和基本使用
  • 使用LeakCanary检测内存泄露

##其他分支

##优化的功能

  • 添加加载等待动画
  • 添加加载失败提示
  • 添加评论楼层过多隐藏
  • 添加网络状态检测
  • 优化无聊图列表显示,非WIFI状态下,显示GIF缩略图,点击后下载
  • 加载模式全自动智能切换,显著提高加载速度,节省大量流量
  • 修改图片详情页为完全沉浸效果
  • 添加图片列表滚动检测,滚动状态暂停加载,进一步提高加载速度,减少卡顿
  • 添加图片加载默认图片
  • 添加当前栏目标志,避免重复切换
  • 修改新鲜事列表页效果为CardView
  • 由于小视频接口有问题,当加载成功的数据少于10条时,会自动加载下一页,直到大于10条为止
  • 添加新鲜事大图模式切换功能

##关于我

##使用到的开源框架

jiandan's People

Contributors

cellzer avatar rowandjj avatar shenhualxt avatar zhaokaiqiang avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.