view_round_image https://blog.csdn.net/xiaohanluo/article/details/52945791 https://guides.codepath.com/android/Working-with-the-ImageView https://guides.codepath.com/android/Working-with-the-ImageView 全圆角OutLine12345 2022-08-14 VIEW
leetcode 20. 有效的括号123456789101112131415161718192021222324252627//官方 HashMap 解法更好 更清晰public boolean isValid(String s) { Stack stack = new Stack(); for (int i = 0; i < s.length(); i++) { 2022-07-26
Gradle 可以研究下 Project Api DEBUG1./gradlew "-Dorg.gradle.daemon=false" "-Dorg.gradle.debug=true" :tasks 9:37 Gradle Lifecyclehttps://docs.gradle.org/current/userguide/bui 2022-07-26
kotlin-inline inline4:00分钟 12345fun main() { hello { println("Bye") }} 不加inline1234fun hello(postAction: () -> Unit) { println("Hello!") postA 2022-07-24 Kotlin
LC-Tree 二叉树算法思维 https://www.bilibili.com/video/BV1nG411x77H TreeOperation.java打印树 Tree https://www.bilibili.com/video/BV1JW411i731 完全二叉树数组存储方式 i 是数组下标 遍历 每个Node都有3次访问机会,谁先出现就代表什么序. 中间节点 在哪,代表的遍历方式 先序遍历 p 2022-07-17 DataStructure #LEETCODE
LC-stack-queue 232. 用栈实现队列最初写的 1234567891011121314151617181920212223242526272829303132333435363738val stack = Stack<Int>() // 元素栈val tempStack = Stack<Int>() // 备用fun push(x: Int) { stack.push(x 2022-07-03 DataStructure #LEETCODE
今天学习Android的是事件分发机制的部分内容。 Android事件分发机制是指在Android系统中,如何将触摸事件(TouchEvent)从系统分发到各个View组件。这个过程主要涉及三个方法:dispatchTouchEvent、onInterceptTouchEvent、onTouchEvent。下面是对这三个方法及其工作流程的详细介绍: 1. dispatchTouchEvent 定义 2022-06-12
PerformanceJank https://www.bilibili.com/video/BV1T44y1u7g6 6:41 数据到屏幕,渲染机制 https://www.jianshu.com/p/8a296b75d95f https://juejin.cn/post/6844904062610046990 https://testerhome.com/topics/29134 卡顿优化https://blog.csd 2022-06-09 #Performance
PerformanceANR ANR https://play.google.com/console/u/0/developers/5313279702199603526/app/4975846927718251228/vitals/crashes?installedFrom=PLAY_STORE&days=30 https://developer.android.com/topic/performance/vital 2022-06-07 #Performance
PerformanceMemory https://developer.android.com/studio/profile/memory-profiler?hl=zh-cn 查看内存限制,下面的命令不起作用 1234adb shell cat/system/build.prop // 需要root权限,没用adb shell getprop // 可以看全部 2022-06-07 #Performance