How to hold an activity until data is being downloaded/available
<p>I am fairly new to android programming and would like to clarify a scenario. Okay, I have two activities called A &amp; B. When activity A is launched, it requests to download some data in the background and anyway after 3 seconds activity B is launched. Activity A acts like a splash screen. So when B activity is launched, I want to hold and wait until the data is fully loaded so that I can initialize the downloaded data in activity B. At the moment activity B launches even before the data is downloaded. If this is the case, after B is loaded and then data is being downloaded, how would I dynamically load the data in activity B? 
Also, is there a way to hold the onCreate in activity B until the data is being downloaded?</p>

<p>Thank you in advance.</p>
