- 博客(5)
- 收藏
- 关注
转载 给TextView添加超链接
1.直接在xml文件中配置autoLink属性autoLink属性一共有六个值,分别是none(正常),web(将文本识别为一个网址),phone(将文本识别为一个电话号码),mail(将文本识别为一个邮件地址),map(这个,呃,该怎么表述呢?会打开地图应用),all(根据文本自动识别)。一般情况下我们设置为all即可,我们看看,这个时候它就会自动将TextView中的电话号码、邮件地址、网...
2018-08-24 16:54:00 1113
原创 安卓旋转动画
布局<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas...
2018-08-23 20:23:11 489
转载 Fragment复用静态代码块
数据public interface Servce { public String URI = "http://c.m.163.com/nc/"; @GET("video/list/{size}/n/0-20.html") Observable<viewInfo> getInfo(@Path("size") String size);}常量...
2018-08-20 21:02:02 107
原创 网络请求post get
网络请求post请求参数public interface NetService&lt;T&gt; { /** 接口:http://39.107.224.233/firstga/app/news/downListNews参数:{"userId":"aadc2d9fe76f4b89bf37ca738e23eafe","channelId":&
2018-08-20 20:31:41 229
转载 下拉刷新上拉加载第三方框架/post 网络请求
下拉刷新上拉加载第三方框架依赖 implementation 'com.scwang.smartrefresh:SmartRefreshLayout:1.0.3' implementation 'com.scwang.smartrefresh:SmartRefreshHeader:1.0.3'布局<com.scwang.smartrefresh.layo...
2018-08-20 19:38:14 312
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人