简介
熊猫眼是一个平时用来学习的练手的项目,作这样一个应用的目的主要有两个:html
- 公司项目由于历史缘由还有风险控制方面的问题,新的技术不必定可以应用在现有的版本上。因此手痒了就本身弄个应用写一写,持续的更新增长本身的技能熟练度。同时也把坑踩一踩,之后用到的时候能够少走绕路。
- 像以前的 MVPDemo 这个仓库,只是进行单一功能的验证测试。写得比较杂乱,慢慢的会失去写下去的热情。因此萌生了写个稍微完整一点的应用的想法。
仓库地址
github.com/PandaQAQ/Pa…java
APK 下载
PandaEyegit
界面功能
知乎日报
网易新闻
视频
技术点
总体开发模式
网络请求及异步处理:
- RxJava2+Retrofit2(早前使用RxJava+Retrofit,能够回滚查看)
- Okhttp
- Gson
- RxBus 实现事件总线功能
图片加载:
新闻数据缓存:
- DiskLurCache (PandaEye 中我对 DiskLruCache 进行了简单的封装,使用相似于 SharePrefenrence)
视频播放器 :
内存泄漏检测 :
其余:
- 图片毛玻璃效果(头像背景效果)
- 自定义封装的 RecyclerView: MagicRecyclerView 支持头部底部和标签
- 自定义 behavior 实现滑动时底部导航栏的隐藏显示效果
- Android N 文件读写适配
- Android M+ 运行时权限申请封装
- 分享 ShareSDK 接入(分享平台未进行注册申请,后续再完善)
- 自定义相册图片选择
- Activity 右滑返回
License
Copyright 2017 PandaQ.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.复制代码