Abhishek Mishra
Aug 22, 2022

It's a nice improvement, but in the long term according to me, the interface method is much better, as it allows us to pass as many functions as we require and the common implementation can be used from the activity/fragment. But in this case, we have to declare the variable along with handling of the functions whenever we declare the adapter's object.

Abhishek Mishra
Abhishek Mishra

Responses (1)