finish()
call the onStop()
current activity, and startActivity(i)
moves the new one intent i
to the event queue. and the activity starts when it is removed from the event queue. in the first case, if the queue of events is stopped, you will see that the current activity disappears, and after some time, when the intention begins to turn, the activity will appear out of nowhere. but thanks to Android planning, this almost never happens.
source
share