随笔分类 - Adnroid 第三方
第三方工具类、插件等使用
摘要:地址:https://realm.io/docs/java/latest/#overriding-property-names 常见注意事项: 1、多个模块使用注意事项 如果不做处理,会生成默认类DefaultRealmModule,导致app运行时出现类重复,时编译通不过。处理方法: 可选择创建一
阅读全文
摘要:问题描述: Execution failed for task ':app:preDebugBuild'.> Android dependency 'androidx.media:media' has different version for the compile (1.0.0-rc01) an
阅读全文
摘要:1、RecyclerView 列表view implementation 'com.android.support:recyclerview-v7:28.0.0-rc01' 2、Gson Json与对象转换工具 implementation 'com.google.code.gson:gson:2.
阅读全文
摘要:1、功能简述 用于6.0+运行权限请求 2、gradle接入 3、使用方法 (1)单个权限 String permission = "..."; Dexter.withActivity(activity) .withPermission(permission) .withListener(new P
阅读全文
摘要:1、功能简述 全局事件(数据)传递,可减少一步一步传递数据的繁琐步骤。 2、gradle接入 (1)module的gradle添加加速索引,不同模块不能包名相同,不然会冲突。 (2)module的gradle接入插件 (3)project的gradle中 3、初始化 EventBus.builder
阅读全文
摘要:1、功能简述 用于模块间解耦 2、module的gradle接入 3、初始化使用 if (isDebug()) { // These two lines must be written before init, otherwise these configurations will be inval
阅读全文
摘要:1、功能说明 用于检测应用运行内存溢出等。 2、gradle引用 3、初始化使用 来源:https://github.com/square/leakcanary
阅读全文

浙公网安备 33010602011771号