老师,这个怎么解决啊,急求
View view = minflater.inflate(R.layout.item,null);
这里如果这样写我的程序提示错误:
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
老师,这个怎么解决啊,急求