setActivity

open fun setActivity(activity: Activity)

set or reset the activity

Parameters

activity

the activity to set or null wenn connection is wound down.