How to stop the finish() method after press back button in android?
<p>Can I check some condition in finish()</p>

<p>if the condition is success, continue to back to previous</p>

<p>else, stop the finish, and stay in current activity? </p>
