我收到此错误:
Cannot resolve symbol 'list_sirah'
这是我使用LayoutInflater将其放大至视图的布局。也许还有另一种方法可以将其充气到我的视图中?
@Override
public View getView(int position, @Nullable View convertView, @NonNull ViewGroup parent) {
View listItem = convertView;
if(listItem == null){
listItem = LayoutInflater.from(mContext).inflate(R.layout.list_sirah,parent,false);
}
}