getActivity

tailrec fun Context.getActivity(): Activity?(source)

Use to get Activity from Context.