My application has a ViewFlipper with 3 ViewGroups in it. Each ViewGroup interaction is dependent on data from a database. I’m using an AsyncTask to read from a database and return a Cursor when it’s done. Before the AsyncTask is executed, I just want to display a single View in the ViewFlipper saying “Loading data, please wait.”, is this possible somehow?
My application has a ViewFlipper with 3 ViewGroups in it. Each ViewGroup interaction is
Share
Show the progress dialog in your
onPreExecute()and dismiss it in theonPostExecute(). Something like this,