当前位置:网站首页>View Binding 混淆问题。我两天都在研究混淆。
View Binding 混淆问题。我两天都在研究混淆。
2022-07-24 01:51:00 【安果移不动】
BindingUtilKt.withGenericBindingClass(BindingUtil.kt:85)
BindingUtilKt.inflateWithGeneric(BindingUtil.kt:38)
at BaseBindingActivity.onSetupCreate(BaseBindingActivity.kt:28)
BaseRootActivity.onCreate(BaseRootActivity.kt:127)
额。。反射听说过吗。
就是使用反射的时候混淆就有问题。。不用还好。
所以解决方案就改为不用 改为直接让子类去实现。
反射的意图本来是想走捷径。但是这个捷径反而更远了。
所以我们卷一卷。捷径下这个问题
具体解决方案在这里
Android View Binding的使用_赵彦军的博客-CSDN博客_android bind 使用
成熟的方案国内没有。github也没找到。
只能是不成熟的方法走了。使用简单的复用 让子类重写复用。
听起来简单


诶嘿嘿。不说了 我要卷起来了 去设置这个Every Activity And Fragment And others viewHolder了。
边栏推荐
- Summary of volatile interview in concurrent programming
- Hcip first day notes
- How to solve the problem that the universal vision NVR device is connected to the easycvr platform and cannot be online after offline?
- 代码阅读方法与最佳实践
- How to finally generate a file from saveastextfile in spark
- win11系统之win11亮点
- jmeter+influxdb+grafana压测实时监控平台搭建
- Retinal network based on enhanced spatial attention (ESA UNET)
- Arm architecture and programming 4 -- serial port (based on Baiwen arm architecture and programming tutorial video)
- Phantom core is about to close? Is there a future for digital collections?
猜你喜欢

After the interview with 20 or 30 companies, there is no offer that you can't get after the Android interview

Hcip day 10 notes

解决script标签写在元素节点前面无法获取元素节点的问题
![[C language operation of linked list (initialization, establishment, length calculation, addition, deletion, and output of linked list)]](/img/9b/e5cda39c04d0cc2f69e43c97ee997d.png)
[C language operation of linked list (initialization, establishment, length calculation, addition, deletion, and output of linked list)]

OSPF (sixth day notes)

Precautions for using XXL job

Rip --- routing information protocol

Spark partition operators partitionby, coalesce, repartition

Solve the problem that the script tag is written in front of the element node and cannot get the element node

jenkins多任務並發構建
随机推荐
杂志特稿:元宇宙将重塑我们的生活,我们要确保它变得更好
Customer first | domestic Bi leader, smart software completes round C financing
How QT counts the frequency of letters in a string
Computer room construction data
Summary of volatile interview in concurrent programming
Construction and test of hfish honey pot
Cmake Getting Started tutorial
Upload files to flash file system through Arduino IDE
快速排序注意点
php7 垃圾回收机制详解
Troisième semaine d'été
Basic knowledge of mathematical vector
Topological sorting & critical path
jmeter+influxdb+grafana压测实时监控平台搭建
MySQL Basics (operators, sorting and paging, multi table queries, functions)
Is Huatai Securities safe to open an account? How to handle it
Hcip day 10 notes
Spark memory management mechanism new version
Excel simple macro
通过Arduino IDE向闪存文件系统上传文件