I have an activity which contains a back button. when it is pressed, it starts another activity which contains a back button in same position. But the problem is it takes few seconds to start activity because it does some heavy task in background. Now the problem is, if the user press back button again before starting the new activity, the second press goes to new activity and the it navigates from new activity to another new activity. I think the problem is clear to you. Any idea how to solve this problem??? Thanx.
Share
Make the Back Button invisible until the new activity is loaded.