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?
Asked
Active
Viewed 73 times
-1

Justas Glodenis
- 77
- 1
- 1
- 10
-
can you share your `recycler-adapter` – Navneet Krishna Feb 27 '18 at 04:34
1 Answers
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