![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Android studio
又宠又烦的Android女
生活就是活出自己的样子,生活就是享受当下...
展开
-
Android:图片文件以数组的形式上传
@Multipart @POST("/batchfileUpload") Observable<Result<BaseInfo<IndentityData>>> uploadIndentyImg(@PartMap Map<String,RequestBody> params); HashMap<String,Reque...原创 2020-04-20 15:21:21 · 1251 阅读 · 0 评论 -
android:判断文字中是否有链接并返回
public static String[] linkString(String str){ Matcher m = Pattern.compile("(((https|http)?://)?([a-z0-9]+[.])|(www.))" + "\\w+[.|\\/]([a-z0-9]{0,})?[[.]([a-z0-9]{0,})]+((/[\\...原创 2020-04-17 15:39:25 · 1132 阅读 · 0 评论 -
Android:scrollView包含recyclerView出现recycler显示不全,recyclerView禁止滑动
一、目前只限于6.0手机显示异常 <RelativeLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:descendantFocusability="blocksDescendants"> ...原创 2020-04-10 18:42:19 · 676 阅读 · 1 评论 -
Compilation is not supported for following modules: example, image-viewer. Unfortunately you can't h
Compilation is not supported for following modules:Unfortunately you can't have non-Gradle Java modules and Android-Gradle modules in one project.解决方法:删除项目中的.idea文件和.iml文件,关闭重新启动就可以了...原创 2020-02-12 11:25:13 · 1463 阅读 · 0 评论