杨陵的头像 ID: 21404539339

杨陵

HelloWorld 社区成员

7902504213

文章2
个人网站0
加入社区2025

ViewBinding与Kotlin委托

接上篇(https://segmentfault.com/a/1190000022406048)自定义属性委托的用处很多,例如组合替代继承,给个<codeViewBinding</code在<codeFragment</code中的使用的例子:委托:<pre<code/

Eslint规则

<pre<code&34;noalert&34;:0,//禁止使用alertconfirmprompt&34;noarrayconstructor&34;:2,//禁止使用数组构造器&34;nobitwise&34;:0,//禁止使用按位运算符&34;no