上一页 1 2 3 4 5 6 7 8 ··· 10 下一页
  2019年2月28日
摘要: https://blog.csdn.net/smileiam/article/details/69055963 阅读全文
posted @ 2019-02-28 17:07 白衣雨果 阅读(495) 评论(0) 推荐(0)
  2019年1月14日
摘要: 1.添加gradle依赖: compile com.squareup.retrofit2:converter-scalars:2.0.0' 2.更换转换器 mRetrofit = Retrofit.Builder() .baseUrl(HttpAddress.SITE) .addConverterFacto... 阅读全文
posted @ 2019-01-14 14:27 白衣雨果 阅读(2711) 评论(0) 推荐(0)
  2018年9月12日
摘要: 接口文档: 首先自然想到封装成JavaBean。 注意点: 1、内部嵌套的类必须是static的,要不然解析会出错; 2、类里面的属性名必须跟Json字段里面的Key一模一样; 3、因为Json字段里面的Key存在中文,所以必须在相应的字段上使用@SerializedName("中国画")注解,给K 阅读全文
posted @ 2018-09-12 14:38 白衣雨果 阅读(1783) 评论(0) 推荐(0)
  2018年8月18日
摘要: 需要加上 annotationProcessor 'com.jakewharton:butterknife:7.0.1' dependencies { compile 'com.jakewharton:butterknife:7.0.1' annotationProcessor 'com.jakew 阅读全文
posted @ 2018-08-18 11:59 白衣雨果 阅读(1235) 评论(0) 推荐(0)
  2018年8月15日
摘要: 转自https://blog.csdn.net/student9128/article/details/53026990 阅读全文
posted @ 2018-08-15 17:02 白衣雨果 阅读(708) 评论(0) 推荐(0)
  2018年7月31日
摘要: buildscript { repositories { google() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.1.3' classpath 'org.greenrobot:greendao-g 阅读全文
posted @ 2018-07-31 17:08 白衣雨果 阅读(1656) 评论(0) 推荐(0)
  2018年7月27日
摘要: 见https://blog.csdn.net/qq_21397217/article/details/65630730博客 阅读全文
posted @ 2018-07-27 10:07 白衣雨果 阅读(179) 评论(0) 推荐(0)
  2018年7月25日
摘要: 可能只添加了 implementation 'com.jakewharton:butterknife:8.8.1'而没有添加下面这行 annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1' 阅读全文
posted @ 2018-07-25 15:50 白衣雨果 阅读(4401) 评论(0) 推荐(0)
  2018年7月6日
摘要: 原文地址:https://blog.csdn.net/wang_wy/article/details/79032698 阅读全文
posted @ 2018-07-06 10:35 白衣雨果 阅读(365) 评论(0) 推荐(0)
  2018年6月21日
摘要: 1、确保所有依赖包的 2、确保最外层的build.gradle中增加如下代码: 阅读全文
posted @ 2018-06-21 16:36 白衣雨果 阅读(1822) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 10 下一页