getActivity() and getContext() functions


#1

Who can help me? Where can I find more informations about the getActivity() and getContext() functions ?

I read this, but it’s really short https://android.processing.org/reference/environment/activity.html

I read in this forum that I can do that “this.getActivity().finish();”


#2

@InSat ===
you are in a fragment:that s why!