好物分享
-
Android-Framework:Binder全解析(三,2021大厂Android面试经历
open_driver //frameworks/native/libs/binder/ProcessState.cpp static int open_driver(const char *driver) { int fd = open(driver, O_RDWR | O_CLOE…… -
-
关键字 static 的使用
package com.yby3; public class hand { public static void main(String[] args) { Person p1 = new Person(); Person p2 = new Person(…… -
2021小美赛B题优化版本Flesch-Kincaid 阅读轻松公式
使用 公式: 如何运行?运行后输入对应的路径即可: 结果: 发现 文本你可以去替换,没关系,结果可靠。 自动提高文本的可访问性 该操作可以快速阅读一篇文章…… -
Android-Framework学习笔记(二)Zygote进程启动过程,吊打面试官系列
//监听socket,启动新的应用进程 runSelectLoop(abiList); //6 closeServerSocket(); } catch (MethodAndArgsCaller caller) { //通过反射调用SystemServer#mai…… -
Android 面试(五),fluttertextfield边框
既然 Handler 操作都烂熟于心,还讲这个干什么? 嗯,对,在 Android 开发中,我们确实经常用到它,对于基本代码流程自然也是倒背如流,但了解它的原理的人却…… -
Android 面试总结 – Activity的启动流程,9次Android面试经验总结
// Put restore token intent.putExtra(AutofillManager.EXTRA_RESTORE_SESSION_TOKEN, token); intent.putExtra(AutofillManager.EXTRA_RESTORE_CROSS_ACTIVI…… -
Android 记事本功能的简单实现,成为阿里P7Android架构师到底有多难
if (itemView == null){ throw new IllegalArgumentException(“item View can not be null!”); } this.itemView = itemView; itemIcon = itemView.findViewByI…… -
Android 解决65536,kotlin从零到精通android开发
起因:项目使用的一直是multidex:1.0.3版本就想着版本低了要不要升级一下。惊喜就这么来了。 65536 当你的应用及其引用的库超过 65,536 个方法时,你会遇到构…… -
[位运算]异或运算^、与运算&
一 异或运算 ^ 1. 任意数和0异或都是原来的数: a ^ 0 = a; 2. 任意数与自己异或都等于0: a ^ a = 0; 3. 满足交换律和结合律: a ^ b ^ a = a ^ a ^ b = 0 ^ ……