0
我正在使用RecyclerView
和ParseRecyclerView
我已經創建了一個適配器來從解析雲中加載文本。我得到的錯誤與查看不能適用於PhotoFilterViewHolder
。使用RecyclerView進行解析
@Override
public RecyclerView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
final View view = LayoutInflater.from(context).inflate(R.layout.item_photo_filter, parent, false);
return new PhotoFilterViewHolder(view);
}
我使用PhotoFilterViewHolder從解析雲景項目
public static class PhotoFilterViewHolder extends RecyclerView.ViewHolder {
public PhotoFilterViewHolder(FilterImages post, View view) {
super(view);
PlaceName = (TextView) view.findViewById(R.id.place_names);
PlaceName.setText(post.getPlaceName());
ButterKnife.bind(this, view);
}
}