老師,這個(gè)怎么解決啊,急求
View view = minflater.inflate(R.layout.item,null);
這里如果這樣寫我的程序提示錯(cuò)誤:
Multiple markers at this line
- Unconditional layout inflation from view adapter: Should use View Holder pattern (use?
recycled view passed into this method as the second parameter) for smoother scrolling
- Avoid passing null as the view root (needed to resolve layout parameters on the inflated?
layout's root element)
- item cannot be resolved or is not a field
老師,這個(gè)怎么解決啊,急求
2015-04-13
你上面貼出來的應(yīng)該是警告,我視屏中有講的