service / com.scurab.android.uitor.extract2 / android.view.View / getActivity

getActivity

fun View.getActivity(): Activity?

Find an activity for View. This might return null if the view is using Application as context