-1

I have this problem when I have to set the visibility of layout from Recycler item button click. How can I change "some other layout" params from RecyclerAdapter onBindViewHolder method? Example of situation

Justas Glodenis
  • 77
  • 1
  • 1
  • 10

1 Answers1

0

So basically I passed the view to the constructor and then I was able to change its visibility and etc... like

> mAdapter(Context context, ArrayList<someobject> arrayList, RelativeLayout
> weblayout, WebView web, ProgressBar progressBar, RecyclerView
> listView) { this.weblayout; this.web; this.progressBar; tihs.listview;
> ...
Justas Glodenis
  • 77
  • 1
  • 1
  • 10