常用依赖

常用权限


监听EditText发生改变

http://blog.sina.com.cn/s/blog_89429f6d0101alcp.html

自定义输入框

http://doc.okbase.net/lgx06/archive/120558.html

断点续传

http://blog.csdn.net/wzgiceman/article/details/52910373

自定义输入框

http://blog.csdn.net/xiaanming/article/details/11066685

自定义加减

http://blog.csdn.net/whitley_gong/article/details/51956429

http://blog.csdn.net/inter_native/article/details/78603256

接口可用:http://live.9158.com/Room/GetHotLive_v2?lon=0.0&province=&lat=0.0&page=1&type=1home.firefoxchina.cn

接口不可用:http://route.showapi.com/197-1/?showapi_appid=18107&showapi_sign=9a973b7a357e4475b150af31da58be1e&num=60(尽量不要用)

创建Json串https://www.eolinker.com/#/home/project/api/

阿里巴巴小图标图片http://www.iconfont.cn/

二维码生成与扫描http://blog.csdn.net/bo543937071/article/details/53784204

https://github.com/yipianfengye/android-zxingLibrary

<uses-permissionandroid:name="android.permission.INTERNET"/>
<
uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<
uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>

常用依赖

Okhttp的依赖:compile 'com.squareup.okhttp3:okhttp:3.9.0'
解析Gson的依赖:compile 'com.google.code.gson:gson:2.8.2'

Banner的依赖:compile 'com.youth.banner:banner:1.4.9'

底部标签compile'com.hjm:BottomTabBar:1.1.1'

ImageView图片展示compile'com.nostra13.universalimageloader:universal-image-loader:1.9.5'

可以实现瀑布,线性,网格布局compile'com.android.support:recyclerview-v7:26.0.0-alpha1'
有上边的效果加上下拉刷新,上拉加载Xrecyclerview

 compile'com.jcodecraeer:xrecyclerview:1.2.0'

 //retrofit依赖网络请求

compile 'com.squareup.retrofit2:retrofit:+'
compile 'com.squareup.retrofit2:converter-gson:+'
compile 'io.reactivex.rxjava2:rxjava:+'
compile 'io.reactivex.rxjava2:rxandroid:+'
compile 'com.squareup.retrofit2:adapter-rxjava2:+'

 

自动轮播compile'com.youth.banner:banner:1.4.9'

Okhttp拦截器借口compile'com.squareup.okhttp3:logging-interceptor:3.4.1'

//butterkbife获取id的依赖

compile 'com.jakewharton:butterknife:7.0.0'
注:使用时需要配合file--》settings--》Plugins--》点击下方三个按钮的中
间那个下载--》Android ButterKnife Zelezny

//二维码依赖

compile 'cn.yipianfengye.android:zxing-library:2.1'


 //EventButs传值依赖

compile 'org.greenrobot:eventbus:3.0.0'
//fresco图片展示框架

compile 'com.facebook.fresco:fresco:1.5.0'

//节操视频播放依赖

compile 'fm.jiecao:jiecaovideoplayer:5.5.2'

// IjkPlayer视频播放

repositories {
    mavenCentral()
    flatDir {
        dirs 'libs' /**libs文件夹下找aar文件*/
        maven { url "https://jitpack.io" }
    }
}
https://www.cnblogs.com/zhujiabin/p/6223989.html

//http://blog.csdn.net/xcjean/article/details/78613066

 String url = Environment.getExternalStorageDirectory()
                .getAbsolutePath() + "/local2/adc.mp4";
       new PlayerView(this)
                .setTitle("什么")
                .setScaleType(PlayStateParams.fitparent)
                .hideMenu(true)
                .forbidTouch(false)
                .setPlaySource(url)
                .startPlay();

可以填加支持HTTPS协议的网络视频so包

https://blog.csdn.net/linchaolong/article/details/52805666


compile 'com.dou361.ijkplayer:jjdxm-ijkplayer:1.0.5'

Uri mUri = Uri.parse("http://ips.ifeng.com/video19.ifeng.com/video09/2014/06/16/1989823-102-086-0009.mp4");

videoView.init()
        .setVideoPath(mUri)
        .setMediaQuality(IjkPlayerView.MEDIA_QUALITY_HIGH)
        .enableDanmaku()
        .start();

Glide依赖compile'com.github.bumptech.glide:glide:4.0.0'

Retrofit依赖

//retrofit

    compile'com.squareup.retrofit2:retrofit:+'

    compile'com.squareup.retrofit2:converter-gson:+'

 

    //Rxjava2

    compile'io.reactivex.rxjava2:rxjava:+'

    compile'io.reactivex.rxjava2:rxandroid:+'

 

    //让retrofit支持Rxjava2

    compile 'com.squareup.retrofit2:adapter-rxjava2:+'

 

 

 

沉浸式(俗称;去标题头)

https://www.aliyun.com/jiaocheng/23905.html


把这行换成这个

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值