Android application loading screen -


I'm working on an application that lists a list using the list of library lists.

My question is, when I open the application, it has a visual loading time before the XML view is inflated, during this time only the name of the application is shown. It is quite noticeable on some applications, but others find loading screens and what has not been implemented.

Does anyone have a solution or know how good loading screens are ready?

Cheers!

If your activity is taking more than one tenth of a second, > OnCreate () , onstart () , or onResume () . Take that work to the background thread, perhaps using AsyncTask .

Then, if you want to do something, when the background thread is crunching, you can use ProgressDialog , or call setContentView () Many times (initially with a splash screen, then later on with the complete UI when the background is completed), or whatever.


Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -