onAttach

open fun onAttach(context: Context)

Called when sharing controller is attached to its activity.

Parameters

context

Context of the activity that controller is attached to.