I have a ViewHolder Class.
class VHHeader extends RecyclerView.ViewHolder{
TextView txtTitle;
RecyclerView recyclerView;
public VHHeader(View itemView) {
super(itemView);
this.txtTitle = (TextView)itemView.findViewById(R.id.txtHeader);
this.recyclerView =(RecyclerView)itemView.findViewById(R.id.recyclerView);
}
}
Now I want to access this View Holders recycler view in some different method in same adapter class .
Public void useRecyclerView(){
}
How to use the element of View Holder in this method.
