Answers for "get activity object in adapter"

1

access activity method from adapter

if (mContext instanceof YourActivityName) {
	((YourActivityName)mContext).yourDesiredMethod();
Posted by: Guest on November-06-2020

Code answers related to "get activity object in adapter"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language