
项目基础第三方
嘤嘤嘤*
会嘤嘤嘤
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Android 本地图片相册选择
相册选择图片原创 2022-07-11 16:50:57 · 1797 阅读 · 0 评论 -
Android GreenDao 的使用
1.根目录build// 加入GreenDao数据库的 插件classpath 'org.greenrobot:greendao-gradle-plugin:3.2.2'2.项目apply plugin: 'org.greenrobot.greendao'//GreenDao 的 插件项目正题build 一下就会自动生成原创 2022-06-07 13:40:15 · 610 阅读 · 0 评论 -
Android shape开关
<ImageView android:id="@+id/butToggle" android:layout_below="@id/main_bot" android:layout_margin="@dimen/dp10" android:layout_width="@dimen/dp30" android:layout_height="@dimen/dp30" ...原创 2022-04-14 15:23:41 · 2369 阅读 · 0 评论 -
Android 使用Json表情包
类似这样的格式public class GetJsonDataUtil { public String getJson(Context context, String fileName) { StringBuilder stringBuilder = new StringBuilder(); try { AssetManager assetManager = context.getAssets(); ...原创 2022-04-11 13:50:17 · 2907 阅读 · 0 评论 -
极光埋点的一些问题
必须调用onPage 系列 才会有上传原创 2022-03-18 12:20:15 · 347 阅读 · 0 评论 -
Android DrawerLayout状态栏超出
使用AndroidUtilCode 在布局的setContentView 之前设置setFitSystemWindow() = false再加上BarUtils.transparentStatusBar(this);就可以了原创 2021-12-31 13:58:48 · 1264 阅读 · 0 评论 -
Android 万能进度监听 Glide
https://github.com/JessYanCoding/ProgressManager //自带 glide + glide的 transform implementation 'jp.wasabeef:glide-transformations:4.0.1' //这个必须加---element== null implementation 'com.github.bumptech.glide:glide:4.10.0' //加上这个才可以 有 进度原创 2020-10-10 13:37:35 · 675 阅读 · 1 评论 -
Android 阿里巴巴开发手册
1.命名规则 ①.布局命名 Activity 的 layout 以 module_activity 开头 Fragment 的 layout 以 module_fragment 开头 Dialog 的 layout 以 module_dialog 开头 include 的 layout 以 module_include 开头 ListView 的...原创 2019-04-11 10:26:02 · 252 阅读 · 0 评论 -
Android 解析FlycoDialog_Master为 俺所用
https://github.com/zhangqifan1/PopDialog1. 首先withScale 和 heightScale 一起使用 情景不对会无效,可以这样比如里边放一张ImageView,外层Layout为wrap_content,getLayoutParmes.height/width.撑起来2.主要是在BaseDialog 修改了 Gravity 来设置 ...翻译 2018-12-24 14:33:02 · 638 阅读 · 0 评论 -
Android leakcanary
Leakcanary debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.5.4' releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.4' private RefWa...原创 2018-11-16 16:50:17 · 513 阅读 · 0 评论 -
Android 加载中 等待布局 类似皮皮虾进入页面
https://github.com/ImKarl/WaitView1.maven { url 'https://jitpack.io' }1.1compile 'com.github.ImKarl:WaitView:{latestVersion}'2我的笔记主要在MVP 层次中M层中会有接口CallBack,写俩个方法,OnStart onfinish 调用...原创 2018-09-25 14:15:17 · 1805 阅读 · 0 评论 -
Android 第三方系列 项目必集成->极光推送
1. defaultConfig { //#################### 极光推送 ################### ndk { //选择要添加的对应cpu类型的.so库。 abiFilters 'armeabi', 'armeabi-v7a', 'armeabi-v8a...原创 2018-08-09 10:00:20 · 541 阅读 · 0 评论 -
Android 第三方系列 项目必集成->腾讯Bugly
1.去注册一个https://bugly.qq.com/v2/index2. //腾讯Bugly CrashReport.initCrashReport(getApplicationContext(), "f4e0d2034b", false);3.大概是所有的权限了 重复的删除 <uses-permission android:name="com....原创 2018-09-18 14:46:58 · 665 阅读 · 0 评论