onClick inside fragment called on Activity

后端 未结 6 941
北恋
北恋 2020-12-02 22:14

i am encapsulating stuff into a fragment at the moment and run into a problem that is hard to google. Inside my fragment are some buttons with onClick attributes but they a

6条回答
  •  孤街浪徒
    2020-12-02 23:11

    I spoke to some googlers @ #adl2011 - they recognize the problem and perhaps there will be a fix of that in the future. Until then - one should use .setOnClick in the Fragment.

提交回复
热议问题