博客
关于我
ButterKnife使用问题
阅读量:395 次
发布时间:2019-03-05

本文共 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/

    你可能感兴趣的文章
    none 和 host 网络的适用场景 - 每天5分钟玩转 Docker 容器技术(31)
    查看>>
    None还可以是函数定义可选参数的一个默认值,设置成默认值时实参在调用该函数时可以不输入与None绑定的元素...
    查看>>