I need to change the visibility of a button deppending on a recycler's view content, when it changes it must become visible otherwise it has to remain invisible
I've tried with interfaces, callback and "onactivityresult" to add a changelistener to the recyclerview, with the interface I can access a method from the parent class but I cant reach the view's it returns me nulls
the structure is the following:
parent class(viewpager, with button that needs to change it's visibility) child class(recyclerview) adapter(Call to API service, listener to button and Edittext, "I need to modify it from here")