一套完整的Android通用框架

thangsen 8年前
   <p>现在做Android开发,已经是大好时机,网上有很多成熟的框架,我们应充分利用好这些,所谓前人种树后人好乘凉,很多时候压根不需要了解太多原理,只需站在巨人的丁丁上即可,当然您说您能力强,非要重复造轮子,无可厚非。</p>    <h2><strong>MVP模式</strong></h2>    <p><a href="/misc/goto?guid=4959715020452463721" rel="group"><img alt="一套完整的Android通用框架" src="https://simg.open-open.com/show/14e116fcffde3b1c0033e316921cf550.jpg"></a></p>    <h3>MVP</h3>    <p><strong>简介</strong></p>    <p>Android MVP Sample,MVP+Retrofit+RxJava实践小结</p>    <p><strong>github地址</strong></p>    <p><a href="/misc/goto?guid=4959644446338609263" rel="external">https://github.com/WuXiaolong/AndroidMVPSample</a></p>    <p><strong>相关博客</strong></p>    <p><a href="/misc/goto?guid=4959715020600314635">Android MVP+Retrofit+RxJava实践小结</a><br> <a href="http://www.open-open.com/lib/view/open1443351697675.html">Android MVP 实例</a></p>    <h2><strong>依赖注入</strong></h2>    <h3>butterknife</h3>    <p><img src="https://simg.open-open.com/show/2eb2f36705beb853b56272ff8210949d.png"></p>    <p><strong>简介</strong></p>    <p>Bind Android views and callbacks to fields and methods 将Android视图和回调方法绑定到字段和方法上</p>    <p><strong>github地址</strong></p>    <p><a href="/misc/goto?guid=4958961775931067718" rel="nofollow,noindex">https://github.com/JakeWharton/butterknife</a></p>    <p><strong>相关博客</strong></p>    <p><a href="/misc/goto?guid=4958873636818564987" rel="nofollow,noindex">butterknife官网</a></p>    <h2><strong>网络请求</strong></h2>    <h3><strong>Retrofit</strong></h3>    <p><img src="https://simg.open-open.com/show/3f6a72955aab24da70ba164fec0758a2.png"></p>    <p><strong>简介</strong></p>    <p>Type-safe HTTP client for Android and Java by Square 类型安全的Http客户端</p>    <p><strong>github地址</strong></p>    <p><a href="/misc/goto?guid=4958964956869128717" rel="nofollow,noindex">https://github.com/square/retrofit</a></p>    <p><strong>相关博客</strong></p>    <p><a href="/misc/goto?guid=4959674393864580954" rel="nofollow,noindex">Android Retrofit 2.0 使用-补充篇</a></p>    <p><a href="/misc/goto?guid=4959674393697998561" rel="nofollow,noindex">Android Retrofit 2.0使用</a></p>    <p><a href="/misc/goto?guid=4958837204152834453" rel="nofollow,noindex">Retrofit官网</a></p>    <h2><strong>图片加载</strong></h2>    <h3><strong>glide</strong></h3>    <p><img src="https://simg.open-open.com/show/6c5f9c2b5824cc78b15a8a580f7bdacf.png"></p>    <p><strong>简介</strong></p>    <p>An image loading and caching library for Android focused on smooth scrolling 一个图片加载和缓存的库</p>    <p><strong>github地址</strong></p>    <p><a href="/misc/goto?guid=4958862736295244246" rel="nofollow,noindex">https://github.com/bumptech/glide</a></p>    <h3><strong>picasso</strong></h3>    <p><img src="https://simg.open-open.com/show/b185498f1a36ecdd8682a28437ff8b77.png"></p>    <p><strong>简介</strong></p>    <p>A powerful image downloading and caching library for Android 一个强大的图片下载与缓存的库</p>    <p><strong>github地址</strong></p>    <p><a href="/misc/goto?guid=4958972548258164558" rel="nofollow,noindex">https://github.com/square/picasso</a></p>    <p><strong>相关博客</strong></p>    <p>Glide 系列预览</p>    <p><a href="/misc/goto?guid=4959668154756618926" rel="nofollow,noindex">开始!</a></p>    <p><a href="/misc/goto?guid=4959668154839522746" rel="nofollow,noindex">加载进阶</a></p>    <p><a href="/misc/goto?guid=4959714999914641126" rel="nofollow,noindex">ListAdapter(ListView, GridView)</a> /)</p>    <p><a href="http://mrfu.me/2016/02/27/Glide_Placeholders_&_Fade_Animations/" rel="nofollow,noindex">占位符 和 渐现动画</a></p>    <p><a href="http://mrfu.me/2016/02/27/Glide_Image_Resizing_&_Scaling/" rel="nofollow,noindex">图片重设大小 和 缩放</a></p>    <p><a href="http://mrfu.me/2016/02/27/Glide_Displaying_Gifs_&_Videos/" rel="nofollow,noindex">显示 Gif 和 Video</a></p>    <p><a href="/misc/goto?guid=4959668155264349416" rel="nofollow,noindex">缓存基础</a></p>    <p><a href="/misc/goto?guid=4959668155348108403" rel="nofollow,noindex">请求优先级</a></p>    <p><a href="/misc/goto?guid=4959668155431267130" rel="nofollow,noindex">缩略图</a></p>    <p><a href="/misc/goto?guid=4959668155506403571" rel="nofollow,noindex">回调:SimpleTarget 和 ViewTarget 用于自定义视图类</a></p>    <p><a href="/misc/goto?guid=4959668155592752493" rel="nofollow,noindex">加载图片到通知栏和应用小部件中</a></p>    <p><a href="/misc/goto?guid=4959668155674643320" rel="nofollow,noindex">异常:调试和错误处理</a></p>    <p><a href="/misc/goto?guid=4959668155757315756" rel="nofollow,noindex">自定义转换</a></p>    <p><a href="/misc/goto?guid=4959668155757315756" rel="nofollow,noindex">用 animate() 自定义动画</a></p>    <p><a href="/misc/goto?guid=4959668155919416515" rel="nofollow,noindex">集成网络栈</a></p>    <p><a href="/misc/goto?guid=4959668155996866924" rel="nofollow,noindex">用 Module 自定义 Glide</a></p>    <p><a href="/misc/goto?guid=4959668156079910172" rel="nofollow,noindex">Module 实例:接受自签名证书的 HTTPS</a></p>    <p><a href="/misc/goto?guid=4959668156156542190" rel="nofollow,noindex">Module 实例:自定义缓存</a></p>    <p><a href="/misc/goto?guid=4959668156254356789" rel="nofollow,noindex">Module 实例:用自定义尺寸优化加载的图片</a></p>    <p><a href="/misc/goto?guid=4959668156340112394" rel="nofollow,noindex">动态使用 Model Loader</a></p>    <p><a href="/misc/goto?guid=4959668154581815053" rel="nofollow,noindex">如何旋转图像</a></p>    <p><a href="/misc/goto?guid=4959668156413126099" rel="nofollow,noindex">系列综述</a></p>    <p>Picasso</p>    <p><a href="/misc/goto?guid=4959715000526379558" rel="nofollow,noindex">github之Picasso使用</a></p>    <h2><strong>图片操作</strong></h2>    <h3><strong>PhotoView</strong></h3>    <p><img src="https://simg.open-open.com/show/d3af92e18c902266c01f46bee1db68a3.png"></p>    <p><strong>简介</strong></p>    <p>Implementation of ImageView for Android that supports zooming, by various touch gestures 图片缩放</p>    <p><strong>github地址</strong></p>    <p><a href="/misc/goto?guid=4958822867993187894" rel="nofollow,noindex">https://github.com/chrisbanes/PhotoView</a></p>    <p><strong>相关博客</strong></p>    <p><a href="/misc/goto?guid=4959715000642666163" rel="nofollow,noindex">github之PhotoView使用</a></p>    <h3><strong>uCrop</strong></h3>    <p><img src="https://simg.open-open.com/show/7c5c148799679898d4cfcacd39c74392.gif"></p>    <p><strong>简介</strong></p>    <p>Image Cropping Library for Android 图片裁剪</p>    <p><strong>github地址</strong></p>    <p><a href="/misc/goto?guid=4958979605706564237" rel="nofollow,noindex">https://github.com/Yalantis/uCrop</a></p>    <p><strong>相关博客</strong></p>    <p><a href="/misc/goto?guid=4959715000768308909" rel="nofollow,noindex">uCrop使用及源码浅析</a></p>    <h3><strong>CircleImageView</strong></h3>    <p><img src="https://simg.open-open.com/show/ead8d0fe8280655c70800c7221a7970f.png"></p>    <p><strong>简介</strong></p>    <p>A circular ImageView for Android 圆头像</p>    <p><strong>github地址</strong></p>    <p><a href="/misc/goto?guid=4958988894635463570" rel="nofollow,noindex">https://github.com/hdodenhof/CircleImageView</a></p>    <h2><strong>数据库</strong></h2>    <h3><strong>Realm</strong></h3>    <p><img src="https://simg.open-open.com/show/bb22893dc80bc6f6a9dc8f67c4fdb25f.jpg"></p>    <p><strong>简介</strong></p>    <p>Realm is a mobile database: a replacement for SQLite & ORMs</p>    <p><strong>github地址</strong></p>    <p><a href="/misc/goto?guid=4959715000876329867" rel="nofollow,noindex">https://github.com/realm/realm-java</a></p>    <p><strong>相关博客</strong></p>    <p><a href="/misc/goto?guid=4959674393864580954" rel="nofollow,noindex">Realm官网</a></p>    <h2><strong>响应式编程</strong></h2>    <h3><strong>RxJava</strong></h3>    <p><img src="https://simg.open-open.com/show/d93d16d8e5045bb037aa448796b6c31e.jpg"></p>    <p><strong>简介</strong></p>    <p>RxJava – Reactive Extensions for the JVM – a library for composing asynchronous and event-based programs using observable sequences for the Java VM</p>    <p><strong>github地址</strong></p>    <p><a href="/misc/goto?guid=4958865750209621132" rel="nofollow,noindex">https://github.com/ReactiveX/RxJava</a></p>    <p><strong>相关博客</strong></p>    <p><a href="/misc/goto?guid=4959715000997810370" rel="nofollow,noindex">RxJava</a></p>    <p><a href="/misc/goto?guid=4959715001079231333" rel="nofollow,noindex">RxJava Essentials CN</a></p>    <p><a href="/misc/goto?guid=4959675444813511648" rel="nofollow,noindex">ReactiveX文档中文翻译</a></p>    <p><a href="http://www.open-open.com/lib/view/open1452919004433.html" rel="nofollow,noindex">给 Android 开发者的 RxJava 详解</a></p>    <h2><strong>事件总线</strong></h2>    <h3>RxBus</h3>    <p><strong>简介</strong></p>    <p>基于RxJava写的事件总线</p>    <p><strong>相关博客</strong></p>    <p><a href="/misc/goto?guid=4959715022020289833">RxBus</a></p>    <h2>下拉刷新</h2>    <h3>PullLoadMoreRecyclerView</h3>    <p><a href="/misc/goto?guid=4959715022117995847" rel="group"><img alt="一套完整的Android通用框架" src="https://simg.open-open.com/show/ad82253418e11cf424195cc5e98213ea.gif"></a></p>    <p><strong>简介</strong></p>    <p>实现RecyclerView下拉刷新和上拉加载更多以及RecyclerView线性、网格、瀑布流效果演示。适用于只需要简单地实现下拉刷新和上拉加载效果。</p>    <p><strong>github地址</strong></p>    <p><a href="/misc/goto?guid=4959715022214140695" rel="external">https://github.com/WuXiaolong/PullLoadMoreRecyclerView</a></p>    <p><strong>相关博客</strong></p>    <p><a href="/misc/goto?guid=4959715022304664014" rel="external">PullLoadMoreRecyclerView</a></p>    <p> </p>    <p>来自:http://wuxiaolong.me/2016/09/07/MyAndroidLibrary/</p>    <p> </p>