I have a DialogFragment
that contains a RecyclerView
(a list of cards).
Within this RecyclerView
are one or more CardVi
Update your view with null value instead of parent viewgroup in Adapter viewholder onCreateViewHolder method.
@Override
public AdapterItemSku.MyViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
View view = inflator.inflate(R.layout.layout_item, null, false);
return new MyViewHolder(view);
}