gh-pages / com.nextfaze.devfun.core / ActivityTracker

ActivityTracker

interface ActivityTracker (source)

Activity tracker that provides the currently (resumed) activity if present.

See Also

ActivityProvider

Properties

Name Summary
activity abstract val activity: Activity?
The current activity - may not be in a resumed state.
isResumed abstract val isResumed: Boolean
Is the current activity resumed.

Extension Properties

Name Summary
resumedActivity val ActivityTracker.resumedActivity: Activity?
Extension function to only get the activity if it is resumed.