“Avoid non-default constructors in fragments: use a default constructor plus Fragment#setArguments(Bundle)instead”

出現這個問題時

使用Window->Android->Lint Error Checking 在 Correctness類別裡,找到ValidFragment ,設定為Ingore就可以了。

 

转载:http://www.dotblogs.com.tw/newmonkey48/archive/2014/04/02/144593.aspx

相关文章:

  • 2021-11-06
  • 2021-11-21
  • 2022-12-23
  • 2021-07-01
  • 2021-05-29
  • 2021-07-30
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-03
  • 2021-11-09
  • 2021-06-07
  • 2022-12-23
  • 2021-12-06
相关资源
相似解决方案