CopyPastor

Detecting plagiarism made easy.

Score: 0.876117628110749; Reported for: String similarity Open both answers

Possible Plagiarism

Plagiarized on 2017-07-28
by Ahmad

Original Post

Original - Posted on 2014-05-07
by Artem Mostyaev



            
Present in both answers; Present only in the new answer; Present only in the old answer;

You can't handle swipe, because system just removes your process from memory without calling any callback.
I have checked, that before user calls "recent apps" screen, onPause() will be always called. So you need to save all data in onPause method without checking isFinishing().
To check back button, use onBackPressed method.
You can't handle swipe, because system just removes your process from memory without calling any callback.

I have checked, that before user calls "recent apps" screen, `onPause()` will be always called. So you need to save all data in `onPause` method without checking `isFinishing()`.
To check back button, use [onBackPressed](http://developer.android.com/reference/android/app/Activity.html#onBackPressed()) method.

        
Present in both answers; Present only in the new answer; Present only in the old answer;