摘要: //仅供参考hdpi 72x72 xhdpi 96x96 xxhdpi 144x144 xxxhdpi 192x192 阅读全文
posted @ 2021-12-18 15:18 码弄 阅读(96) 评论(0) 推荐(0) 编辑
摘要: @RequiresApi(Build.VERSION_CODES.N) @OnClick(R.id.search, R.id.start_data, R.id.end_data) open fun onViewClicked(v: View?) { when (v?.id) { R.id.start 阅读全文
posted @ 2021-07-06 14:21 码弄 阅读(318) 评论(0) 推荐(0) 编辑
摘要: defaultConfig { 。。。 //解决库冲突 multiDexEnabled true } dependencies{ //解决库重复 implementation 'com.android.support:multidex:1.0.3' } 阅读全文
posted @ 2021-06-21 14:58 码弄 阅读(135) 评论(0) 推荐(0) 编辑
摘要: ## 官网搬运 https://github.com/ragunathjawahar/android-saripaar ## 导入 dependencies { compile 'com.mobsandgeeks:android-saripaar:2.0.3' } allprojects { rep 阅读全文
posted @ 2021-05-19 09:46 码弄 阅读(196) 评论(0) 推荐(0) 编辑
摘要: github地址 https://github.com/CymChad/BaseRecyclerViewAdapterHelper/blob/master/readme/0-BaseRecyclerViewAdapterHelper.mdallprojects { repositories { .. 阅读全文
posted @ 2021-04-23 14:29 码弄 阅读(2651) 评论(0) 推荐(0) 编辑
摘要: github链接 https://github.com/CarGuo/GSYVideoPlayer github有时候死活进不去修改dns也不行 记录一下 以备不时之需(其实就是搬运...小声bb)[dog] 1.使用 allprojects { repositories { ... maven { 阅读全文
posted @ 2021-04-21 17:09 码弄 阅读(892) 评论(0) 推荐(0) 编辑
摘要: //这一句得写在showAsDropDown的前面 不然不起作用 popupWindow.setOutsideTouchable(true); popupWindow.showAsDropDown(showView); 阅读全文
posted @ 2021-04-06 14:07 码弄 阅读(248) 评论(0) 推荐(0) 编辑
摘要: //查看提交日志git log --pretty=oneline --abbrev-commit//给历史提交打taggit tag -a v0.1 -m "说明" e628164//克隆指定tag的代码git clone -b tagName git地址//git创建tag git tag "ta 阅读全文
posted @ 2021-01-27 15:42 码弄 阅读(249) 评论(0) 推荐(0) 编辑
摘要: public static String getFileBase64(String url) { try { File file = new File(url); FileInputStream inputFile = new FileInputStream(file); byte[] buffer 阅读全文
posted @ 2020-08-25 16:29 码弄 阅读(442) 评论(0) 推荐(0) 编辑
摘要: HashSet<String>hSet = new HashSet<>(); hSet.add("ZS"); List<String> mList= new ArrayList<>(item1List); LogUtil.e("mList" + mList.toString()); 阅读全文
posted @ 2020-08-25 15:27 码弄 阅读(4799) 评论(0) 推荐(0) 编辑