Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

access activity method from adapter

if (mContext instanceof YourActivityName) {
	((YourActivityName)mContext).yourDesiredMethod();
    
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #access #activity #method #adapter
ADD COMMENT
Topic
Name
9+1 =