代码改变世界

随笔档案-2017年12月

ijkplay

2017-12-20 18:58 by wang_chunqi, 374 阅读, 收藏,
摘要: 依赖包 阅读全文

3.0用到的依赖

2017-12-20 18:44 by wang_chunqi, 196 阅读, 收藏,
摘要: compile 'com.squareup.retrofit2:retrofit:2.0.1'compile 'com.squareup.retrofit2:converter-gson:2.0.1'compile 'com.squareup.retrofit2:adapter-rxjava:2.0 阅读全文

RecyclerView利用setSpanSizeLookup()返回不同的整数而实现多条目

2017-12-19 16:48 by wang_chunqi, 4137 阅读, 收藏,
摘要: import android.content.Context; import android.support.v7.widget.GridLayoutManager; import android.support.v7.widget.RecyclerView; import android.view 阅读全文

支付宝简单支付

2017-12-08 08:09 by wang_chunqi, 608 阅读, 收藏,
摘要: 首先导入架包 然后自定义 Base64类 private static final int BASELENGTH = 128; private static final int LOOKUPLENGTH = 64; private static final int TWENTYFOURBITGROU 阅读全文

MVP+xRecyclerView+Retrofit+OkHttp+RxJava

2017-12-07 10:06 by wang_chunqi, 536 阅读, 收藏,
摘要: 依赖 compile 'com.android.support:recyclerview-v7:26.0.+' compile 'com.facebook.fresco:fresco:0.12.0'// Retrofit库 compile 'com.squareup.retrofit2:retrof 阅读全文

ButterKnife+Retrofit+GreenDao

2017-12-04 08:04 by wang_chunqi, 378 阅读, 收藏,
摘要: 依赖 阅读全文

GreenDao

2017-12-01 16:10 by wang_chunqi, 298 阅读, 收藏,
摘要: 1. 在项目中的build.gradle中添加 MyApp类 MainActivity类 阅读全文