Answers for "call activity method from adapter"

-1

call activity method from adapter

if (mContext instanceof YourActivityName) {
  ((YourActivityName)mContext).yourDesiredMethod();
}
Posted by: Guest on December-16-2020

Code answers related to "call activity method from adapter"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language