You can create a subclass of Application and start the loading in its onCreate() method.
When the second activity is started it can check if the loading is completed. If it's not completed yet it can register itself as a listener that will be called by the AsyncTask. However, as a user I would prefer to have the splash screen and progress dialog merged into one screen with the logo, a progress indicator and the text "Loading list. Please wait..." On 9 Aug, 09:24, Mark Cz <ome...@gmail.com> wrote: > Hmm... > It's not a splash a screen, it is just a screen with logo and a button > to start showing the data. > I want to start loading the data before the user presses the button. > > On Aug 9, 3:56 am, lbendlin <l...@bendlin.us> wrote: > > > > > > > > > You really want to make the loading piece independent/asynchronous. Just > > imagine yourself as a user of your application. What is the splash screen > > telling you? All it does is annoy you. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en