onStop

open fun onStop(activity: Activity)

Method to call on your main activity onStop Calling this method if Batch is already stopped or not started will do nothing

Parameters

activity

the activity that generate the onStop event