王坤林
王坤林
@qinxianyuzou 这个不是 bug ,因为 butterknife 的工作机制是:利用 annotationProcessor 来生成 XXX_ViewBinding 类的,对应的 XXX 里面的 View 的初始化是在 XXX_ViewBinding 内完成的。 而 annotationProcessor 是以 module 为单位工作的,所以解决方法很简单,在 app module 内引用 annotationProcessor 而在 library 内引用 butterknife 即可解决。...
按着 README.md 里的方法配置就可以了。
@ChenLittlePing 麻烦帮忙看一下。谢谢
谢谢,我去试试。
```java @Override public void onViewRemoved(View child) { super.onViewRemoved(child); } @Override public void onViewAdded(View child) { super.onViewAdded(child); } ``` 建议对这两个 函数做下处理。比如在配合 LoadSir 使用时,可能导致界面不显示。
> There is a workaround if you change the Boot Runtime for the IDE to one with JCEF: > > * Open the Navigate -> "Search everywhere" (or search icon...
Android Studio Electric Eel | 2022.1.1 Patch 1 Build #AI-221.6008.13.2211.9514443, built on January 21, 2023 Runtime version: 11.0.15+0-b2043.56-8887301 aarch64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. macOS 12.2 GC:...
@androiddream 我猜测在这个anchor() 函数里直接传如你onCreateView()中inflate的view即可