Display "Loading : Progress Bar " in Android Intent till Data Load
<p>I am working on an android app, in that app i have intent2 which on click redirects to intent3 and takes some time then loads a table and displays server data into it.</p>

<p>Sometimes if there is a lot of data, it tales pretty much time to get the dataload and the time blank screen is displayed increases.</p>

<p>i wish to show a loading bar till the data loads. </p>

<p>how can i show the ProgrssBar till only when data is not displayed ?</p>
