I want to know when user swipe to close app in recent list, but I haven't
found any methods yet. onDestroy
and onTaskRemoved
are not ALWAYS called, they depend on system or device.
So, which methods will be surely called when app closed, and I can use it in all devices?