Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
access activity method from adapter
Aant
Programming language:
Whatever
2021-07-07 17:30:19
0
Q:
access activity method from adapter
M. Johnson
Code:
Whatever
2021-06-28 05:56:53
if (mContext instanceof YourActivityName) { ((YourActivityName)mContext).yourDesiredMethod();
0
Tags
method
Related
how to call intent in adapter class in android
start an activity in adapter
navigate to another activity in android
how to access a spinner from another activity in android
getsupportactionbar activity
android pass object to activity
intent android open activity
how to open an activity from a fragment
how to open activity in android studio
android how to get current activity
aboutusactivity must extend android app activity
how to stop activity from another activity
how to restart activity in android
New to Communities?
Join the community