on Attach

open override fun onAttach(context: Context)

Method to set currentActivity's value and call attachListener

Parameters

context

and here is the attached activity

Sources

Link copied to clipboard