开发app应用的开源项目推荐

app检测内存泄漏

请看这里:LeakCanary Android 和 Java 内存泄露检测

 

app应用想要控制状态栏

StatusBarUtilhttps://github.com/laobie/StatusBarUtil

中文文档:http://jaeger.itscoder.com/android/2016/03/27/statusbar-util.html

效果:

 

侧滑返回 仿ios 仿微信(作者建议和上面的StatusBarUtil 一起用)

BGASwipeBackLayout-Android : https://github.com/bingoogolapple/BGASwipeBackLayout-Android 

普通滑动返回样式微信滑动返回样式
BGASwipeBackLayoutDemo BGASwipeBackLayoutDemo-WeChat
配合滑动删除列表一起使用配合 RecycerView 一起使用
bgaswipebacklayout-swipe-delete bgaswipebacklayout-recycler-index

 

Android UI效果开源库集合—你们要的支付宝RecyclerView展位动画效果也有反正这些开源好牛逼(强烈推荐)。

网址 :http://www.jianshu.com/p/125dfb2e8419 

这其中我要推荐下这个:Grav是一个Android库允许您根据点制作多个动画

             githup: https://github.com/glomadrian/Grav

             效果:

                               Drawing Drawing Drawing DrawingDrawing Drawing

 

在Android各种动画和特效的开源项目可以用(自己在里面寻找,更多的等你们自己发现了)

网址: http://www.ctolib.com/article/compares/41864

 

开源Android粒子效果系统库:Leonids 一个非常轻量的粒子效果系统库 只有几十kb

githup : https://github.com/plattysoft/Leonids

博客参考:【Android开源项目解析】RecyclerView侧滑删除粒子效果实现——初探Android开源粒子库 Leonids

 

第三方开源库:Toast工具:Toasty简单直接

githup : https://github.com/GrenderG/Toasty

参考博客:Android第三方库——Toasty 

效果:

这里写图片描述

 

 

还记得在某些app中闪闪发光的Vip吗?

Facebook开源了一款加载效果工具地址:

android : https://github.com/RomainPiel/Shimmer-android

ios : https://github.com/facebook/Shimmer

博客:Android闪闪发光字体效果

 

RxJava在安卓中的应用教程demo供你学习

githup: https://github.com/cn-ljb/rxjava_for_android 

 

 

我在接下来的一篇博客中将用到上面的开源框架,我想让初学者从零开始一步一步的学习怎么制作一个app,敬请期待吧。

在这里我先放一下一个项目中用到的这些开源,让你们有个感官上的认识有机会的话我会一一的做个讲解用法.

 为了有些童鞋的学习开源着想,我把代码放下面,你们自行复制代码去查找开源项目进行学习也是可以的。

dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
        exclude group: 'com.android.support', module: 'support-annotations'
    })
    compile "com.android.support:design:$supportLibVersion"
    compile "com.android.support:cardview-v7:$supportLibVersion"
    compile 'com.android.support:appcompat-v7:25.3.1'
    compile 'com.android.support.constraint:constraint-layout:1.0.2'
    compile 'com.squareup.retrofit2:retrofit:2.2.0'  //接口请求框架
    compile 'com.squareup.retrofit2:adapter-rxjava:2.2.0' //
    compile 'com.github.bumptech.glide:glide:3.7.0'  //网络加载图片框架
    compile 'cn.bingoogolapple:bga-swipebacklayout:1.0.8' //Android滑动返回 仿iOS侧滑返回 https://github.com/bingoogolapple/BGASwipeBackLayout-Android
    compile 'com.squareup.retrofit2:converter-gson:2.2.0'  //解析json数据
    compile 'io.reactivex:rxandroid:1.2.1' //RxAndroid 现在很流行值得学习 对应RxJava
    compile 'com.github.Andy671:Dachshund-Tab-Layout:v0.3.0'  //tab 切换很美观
    compile 'com.github.glomadrian:grav:1@aar' //很强大的粒子效果动画
    compile 'de.hdodenhof:circleimageview:2.1.0'  //圆形的头像ImageView
    compile 'com.github.GrenderG:Toasty:1.1.3' //Toast工具简单直接好用可以带图标
    compile 'com.youth.banner:banner:1.4.9'  //轮播图
    testCompile 'junit:junit:4.12'
    /**
     * Apt工具的作者宣布了不再维护该工具了,而且Android Studio也有了自己的插件,并且可以通过gradle来简单的配置。
     其实用Butterknife的都知道,没有apt,onClick绑定不了监听,而配置apt有时候又会出现问题,所以推荐使用annotationProcessor来解决这个问题。
     首先,确定android Studio的版本在2.2以上,且gradle的版本为2.2.1以上,因为低版本的没有试过,这是我当前的配置。
     */
    compile 'com.jakewharton:butterknife:8.5.1'  //注解框架
    annotationProcessor 'com.jakewharton:butterknife-compiler:8.5.1'  //跟上面一起被引用的注解框架
    debugCompile 'com.squareup.leakcanary:leakcanary-android:1.5'  //检测内存泄漏的 leakCanary 内存泄漏检测 https://github.com/square/leakcanary
    releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5' //一起被引用的检测内存泄漏
    compile 'com.github.chrisbanes:PhotoView:2.0.0'  //对图片的缩放查看平移旋转,相当于微信预览图片时对图片操作的控件
}

 

posted @ 2017-06-12 10:08  一只呆萌的萌呆  阅读(870)  评论(1编辑  收藏  举报