java - 在Fragment中使用使用ButterKnife.bind(this, view);还是找不到控件
巴扎黑
巴扎黑 2017-04-18 10:50:43
0
1
500

在Fragment中使用使用ButterKnife.bind(this, view);还是报空指针,为什么?

巴扎黑
巴扎黑

reply all(1)
巴扎黑
@BindView(R.id.user) EditText username;

Look at the document carefully, your ID is wrong.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!