本文共 788 字,大约阅读时间需要 2 分钟。
???????????
IllegalStateException: Required view 'button' with ID 2131165211 for method 'clickBtn' was not found.
- ????????????????????ID?2131165211???'button'????????????????
- ?????
- ?????Activity?Fragment??????????????????????
- ?????????????@Nullable???????
- ????????????????????@Optional???
EventBusException: Subscriber class com.example.mytestapp.eventbus.TestEventBusfirstActivity and its super classes have no public methods with the @Subscribe annotation.
- ?????EventBus???TestEventBusfirstActivity???????@Subscribe????????
- ?????
- ?????EventBus???????????
- ???????????EventBusSubscriber??????????
- ????????????????@Subscribe???
- ???????????????????????@Subscribe???
?????
- ???EventBus???????????
- ??????????????public?
- ?????????EventBus???????
- ???????????????UI?????
?????????????????????????
转载地址:http://qdbzz.baihongyu.com/