How to finish last N activites on stack in Android?
I have 4 activities: A->B->C->D When I go from C to D, I want to finish both B and C so that when I press the back button, activity A is resumed. Is there a simple way to do that?
Online Free Tutorials Guruji Guide & Materials – Solved Questions Answers
I have 4 activities: A->B->C->D When I go from C to D, I want to finish both B and C so that when I press the back button, activity A is resumed. Is there a simple way to do that?
Recently I faced the onActivityResult is deprecated. What should we do to handle it? Any alternative introduced for that?