![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
敲黑板
AndromedaF小胖鹿
安卓小白努力中
展开
-
PictureSelector
PictureSelector.create(MainActivity.this) .openGallery(PictureMimeType.ofAll())// 全部.PictureMimeType.ofAll()、图片.ofImage()、视频.ofVideo()、音频.ofAudio() .theme(themeId)// 主题样式设置 具体参考 values/styles 用法:R.style.picture.white.style .maxSelectNum(maxSelectNum)// 最转载 2020-12-16 17:06:11 · 298 阅读 · 0 评论 -
五大库
dependencies { //GSON compile 'com.google.code.gson:gson:2.2.4' //OKHTTP compile 'com.squareup.okhttp:okhttp:1.3.0' compile 'com.squareup.retrofit:retrofit:1.3.0' compile 'de.greenrobot:eventbus:2.2.+' compile 'com.nostra13.universa.原创 2020-10-22 09:27:53 · 240 阅读 · 0 评论 -
ViewPager 多张图片滑动展示
xml <android.support.v4.view.ViewPager android:id="@+id/img_list" android:layout_width="match_parent" android:scaleType="fitXY" android:layout_height="@dimen/x280"> </android.support.v4.view.ViewPager> 导包 compile 'co...转载 2020-10-21 19:54:20 · 188 阅读 · 0 评论