Jhamil
I thought i have to specify my inner viewholder and in my case I have 3 viewholders since I have multi types but thanks for answering me!
class Adapter extends RecyclerView.Adapter<ViewHolder>
class VH1 extends ViewHolder
class VH2 extends ViewHolder
public void onBindViewHolder(ViewHolder holder, int position) {
if(holder instanceof VH1 {
VH1 vh = (VH1) holder;
...
}
If(holder instanceof VH2) {
VH2 vh = (VH2) holder;
...
}
}
Something like this