You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to send custom objects to holder e.g reference to my Fragment object so that i can call public methods from within the Holder, any way to achieve that ?
Sorry for the inconvenience :(
The text was updated successfully, but these errors were encountered:
It's not a good way to reference your Fragment within your Holder.
You have many way to call method of your Fragment from the Holder. For example you can call "getContext()" from the Holder to get your Activity that contains your Fragment, then call your Fragment from this Activity.
How to send custom objects to holder e.g reference to my Fragment object so that i can call public methods from within the Holder, any way to achieve that ?
Sorry for the inconvenience :(
The text was updated successfully, but these errors were encountered: