Bind ButterKnife to Dialog fails

后端 未结 3 1391
忘掉有多难
忘掉有多难 2021-02-07 11:34

I try to bind ButterKnife to a AleterDialog that i made with a DialogBuilder method And exist this method ButterKnife.bind(Object,Dialog); but dosen\'t work for me<

3条回答
  •  梦谈多话
    2021-02-07 12:38

    And everything works perfect

    Dialog dialog = new Dialog(context); dialog.setContentView(R.layout.dialog_outcome); Unbinder unbinder = ButterKnife.bind(this, dialog);

提交回复
热议问题