DEV Community

Mayank
Mayank

Posted on

Answer: When activity will be visible? After onStart() or onResume()?

Please look at the activity life-cycle.

enter image description here

The activity is visible and running between onResume() and onPause(). For more info refer this docs.

Now coming back to why you see white screen.

Views are drawn asynchronously - meaning that execution of your code does not wait until views are…

Top comments (0)