Android开源:PandaEye-一款基于 mvp+rxjava+retrofit 的应用

stonewavee 2年前
   <h2>简介</h2>    <p>熊猫眼是一个平时用来学些的练手的项目,做这样一个应用的目的主要有两个:</p>    <ul>     <li>公司项目因为历史原因还有风险控制方面的问题,新的技术不一定能够应用在现有的版本上。所以手痒了就自己弄个应用写一写,持续的更新增加自己的技能熟练度。同时也把坑踩一踩,以后用到的时候可以少走绕路。</li>     <li>像之前的 <a href="/misc/goto?guid=4959746807932130649" rel="nofollow,noindex">MVPDemo</a> 这个仓库,只是进行单一功能的验证测试。写得比较杂乱,慢慢的会失去写下去的热情。所以萌生了写个稍微完整一点的应用的想法。</li>    </ul>    <h2>仓库地址</h2>    <p><a href="/misc/goto?guid=4959746808026787555" rel="nofollow,noindex">https://github.com/PandaQAQ/PandaEye</a></p>    <h2>APK 下载</h2>    <p><a href="/misc/goto?guid=4959746808112305599" rel="nofollow,noindex">PandaEye</a></p>    <h2>界面功能</h2>    <p style="text-align:center"><img src="https://simg.open-open.com/show/28a9539f0c0839b788d776b4c9bf9f68.gif"></p>    <p>侧滑菜单</p>    <p style="text-align:center"><img src="https://simg.open-open.com/show/311c5eb4262325da9b95f3fb1de6c604.png"></p>    <p>侧滑菜单</p>    <h3>知乎日报</h3>    <p style="text-align:center"><img src="https://simg.open-open.com/show/fd510bcc08ccec50ec1021d68b5d4a0f.png"></p>    <p>知乎日报列表</p>    <p style="text-align:center"><img src="https://simg.open-open.com/show/40a8145246c03276c596f3964da4f211.png"></p>    <p>知乎日报内容</p>    <h3>网易新闻</h3>    <p style="text-align:center"><img src="https://simg.open-open.com/show/7be16bd20bd9d533113df942115018f6.png"></p>    <p>新闻列表</p>    <p style="text-align:center"><img src="https://simg.open-open.com/show/54ceab94a45c3d6a045fc17abeb0fa36.png"></p>    <p>新闻内容</p>    <h3>视频</h3>    <p style="text-align:center"><img src="https://simg.open-open.com/show/4fa4d363d0197ceb1462faece420717d.png"></p>    <p>侧滑菜单</p>    <p style="text-align:center"><img src="https://simg.open-open.com/show/30d50debcffc7433d11e45e8f8960d1f.png"></p>    <p>侧滑菜单</p>    <h2>技术点</h2>    <h3>整体开发模式</h3>    <ul>     <li>MVP</li>    </ul>    <h3>网络请求及异步处理:</h3>    <ul>     <li>RxJava2+Retrofit2(早前使用RxJava+Retrofit,可以回滚查看)</li>     <li>Okhttp</li>     <li>Gson</li>     <li>RxBus 实现事件总线功能</li>    </ul>    <h3>图片加载:</h3>    <ul>     <li>Picasso</li>    </ul>    <h3>新闻数据缓存:</h3>    <ul>     <li>DiskLurCache (PandaEye 中我对 DiskLruCache 进行了简单的封装,使用类似于 SharePrefenrence)</li>    </ul>    <h3>视频播放器 :</h3>    <ul>     <li>JieCaoPalayer</li>    </ul>    <h3>内存泄漏检测 :</h3>    <ul>     <li>leakcanary</li>    </ul>    <h3>其他:</h3>    <ul>     <li>图片毛玻璃效果(头像背景效果)</li>     <li>自定义封装的 RecyclerView: <a href="/misc/goto?guid=4959746808193534482" rel="nofollow,noindex">MagicRecyclerView</a> 支持头部底部和标签</li>     <li>自定义 behavior 实现滑动时底部导航栏的隐藏显示效果</li>     <li>Android N 文件读写适配</li>     <li>Android M+ 运行时权限申请封装</li>     <li>分享 ShareSDK 接入(分享平台未进行注册申请,后续再完善)</li>     <li>自定义相册图片选择</li>     <li>Activity 右滑返回</li>    </ul>    <h2>License</h2>    <pre>  <code class="language-java">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.</code></pre>    <h2>喜欢的老铁双击 666 点个 star</h2>    <p> </p>    <p>    <!--StartFragment --></p>    <p>项目主页:<a href="http://www.open-open.com/lib/view/home/1491444369016"><img src="file:///C:\Users\wzw\AppData\Roaming\Tencent\QQ\Temp\%W@GJ$ACOF(TYDYECOKVDYB.png">http://www.open-open.com/lib/view/home/1491444369016</a></p>    <p> </p>