Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

call activity method from adapter

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