你的位置:首页 > 软件开发 > 操作系统 > Android学习——利用RecyclerView编写聊天界面

Android学习——利用RecyclerView编写聊天界面

发布时间:2017-07-17 12:00:09
1、待会儿会用到RecyclerView,首先在app/build.gradle(注意有两个build.gradle,选择app下的那个)当中添加依赖库,如下:1 dependencies {2 compile fileTree(dir: libs, include: [ ...

Android学习——利用RecyclerView编写聊天界面

1、待会儿会用到RecyclerView,首先在app/build.gradle(注意有两个build.gradle,选择app下的那个)当中添加依赖库,如下:

1 dependencies {2   compile fileTree(dir: 'libs', include: ['*.jar'])3   compile 'com.android.support:appcompat-v7:24.2.1'4   compile 'com.android.support:recyclerview-v7:24.2.1'5   testCompile 'junit:junit:4.12'6   androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {7     exclude group: 'com.android.support', module: 'support-annotations'8   })9 }

原标题:Android学习——利用RecyclerView编写聊天界面

关键词:Android

*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。

可能感兴趣文章

我的浏览记录