Answers for "how to call activity function from adapter android"

0

call activity method from adapter

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

Code answers related to "how to call activity function from adapter android"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language