![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
工具类
JI@end
这个作者很懒,什么都没留下…
展开
-
android 时间选择器
android 时间选择器 (类似外卖跑腿下单) github链接 打开弹框 btnShow.setOnClickListener { if (timeDialog == null) { //30: 时间间隔 当前时间往后延迟30分钟 //例:当前时间10:48 可选的时间段11:20往后 ...原创 2020-01-10 11:05:52 · 360 阅读 · 0 评论 -
android Base64 加密解密
android Base64 加密解密oppo特殊机型报错Failed resolution of: Ljava/util/Base64; //加密 hello byte[] mimeBytes = "hello".getBytes("utf-8"); str= Base64.encodeToString(mimeBytes,Base64.DEFAULT); //结果:GVsbG8= //...原创 2020-01-08 17:49:09 · 885 阅读 · 0 评论 -
解决小米手机裁剪图片崩溃问题
这里写自定义目录标题调用方式基本配置权限providerfile_path封装 BasePhotoActivity Kotlin底部弹框 PopupWindow动画样式 stylesalpha_inalpha_out裁剪方法 关于 demo案例 ,参考github [https://github.com/JI577/ChoosePicture][4]. 调用方式 class MainActi...原创 2019-07-23 16:17:37 · 991 阅读 · 0 评论 -
网络框架封装 okhttprxjava(POST/GET 文件上传等)
githua地址: https://github.com/JI577/OkHttpRxjavaDemo.git 依赖库: implementation ‘com.github.JI577:OkHttpRxjavaDemo:1.0’ 调用方式 (Kotlin) val hashMap = HashMap<Any, Any>() hashMap.put("id", "123") ...原创 2019-07-23 18:13:07 · 231 阅读 · 0 评论