07 2021 档案

Handler、Looper
摘要:一:Looper和Handler模型: 二:怎样在thread中使用Looper和Handler 方法介绍: 使用示例: 三:对MessageQueue消息队列的介绍 (Message.obtain从消息池中取一个Message避免创建过程,提高效率) 四:如何与main thread主线程交流 五
134
0
0
java注解
摘要:
98
0
0
leetcode-双指针旋转数组
摘要:nums = " >-->"; k =3 result = "--> >"; reverse " >-->" we can get "<--< " reverse "<--" we can get "-->< " reverse "< " we can get "--> >" this visual
114
0
0
jetpack-lifecycle
摘要:1:基本概念 对于自己自定义的一些组件,想要它们在fragment或activity中随fragment或acitivity同生同死,避免手动在onCreate或onDestroy里创建和销毁,可以令自己的组件继承LifecycleObserver接口, 然后在fragment或activity中a
107
0
0
动画的一些常用函数
摘要:sceneView.setOnClickListener{//一触碰屏幕就开始动画 sunView.animate().apply { duration = 1000 rotationY(360f)先旋转360° }.withEndAction { sunView.animate().apply {
161
0
0
点击右上角即可分享
微信分享提示
深色
回顶
收起