track Activity States
open fun trackActivityStates(activityState: String, activityName: String, context: Context)
Content copied to clipboard
Call this for tracking activity see and activity stopped onlyNote : Don't call from UI thread.
Parameters
activityState
activity state being tracked
activityName
The name of the activity which is changing view state
context
An instance of the application Context