随笔(四十六)

1.Android M新特性Doze and App Standby模式详解
https://zhuanlan.zhihu.com/p/20323263

Android各版本AlarmManager使用

https://www.jianshu.com/p/b39f9e79ac4f
2.
性能优化(三)看完这篇文章,至少解决 APP 中 90 % 的内存异常问题

https://juejin.im/post/5cd82a3ee51d456e781f20ce
3.java.util.ArrayList$SubList cannot be cast to java.util.ArrayList
https://blog.csdn.net/jam_yin/article/details/82351638
return listResult.size()>limit?new ArrayList<>(listResult.subList(0,limit)):listResult;
}2.
4.ConstraintLayout已经2.0了,你不来了解一下吗?

https://mp.weixin.qq.com/s/hPTYUKMROYYV0hI4xbKU3w
ConstraintLayout 介绍与实战

https://juejin.im/post/5ce3b68b518825336e0a5190
Android新特性介绍,ConstraintLayout完全解析

https://blog.csdn.net/guolin_blog/article/details/53122387

xmlns:app=“http://schemas.android.com/apk/res-auto”
xmlns:tools=“http://schemas.android.com/tools”
android:layout_width=“match_parent”
android:layout_height=“wrap_content”
android:background="@color/quote_light_black"
android:paddingLeft=“16dp”
android:paddingRight=“16dp”
android:paddingTop=“8dp”
android:paddingBottom=“8dp”
>














5.Android 开发SpannableString和SpannableStringBuilder的使用详解
https://blog.csdn.net/baidu_31956557/article/details/78339071
6.
Android getResources().getColor() 过时 替代方法

https://blog.csdn.net/qq_22393017/article/details/54962660
ContextCompat.getColor(context, R.color.black);
(总是记不清替代方法是啥来着了,忘了三四次,干脆记录下
7.Android ConstraintLayout按比例缩放View
https://blog.csdn.net/zhangphil/article/details/79937497
关键点有两个,第一,使用Android ConstraintLayout的layout_constraintDimensionRatio属性,设置宽高比缩放比例,宽:高。第二,恒定宽和高,另外一个方向就会按照比例缩放。
8.
ConstraintLayout之Barrier

http://www.jcodecraeer.com/a/anzhuokaifa/androidkaifa/2017/1017/8601.html
9.DxApplication onCreate走了两次
2019-07-03 17:12:33.201 6963-6963/com.yskj.hzfinance I/DxApplication: process name :com.yskj.hzfinance
2019-07-03 17:12:49.705 7149-7149/? I/DxApplication: process name :com.yskj.hzfinance:pushservice
原因:多进程模式中,不同进程的组件的确会拥有独立的
虚拟机、Application以及内存空间,
10.
Android Studio自带的抓图和录像功能

https://www.cnblogs.com/ztybc/p/9864756.html

你可能感兴趣的:(每日随笔(新))