Am moving from one Activity to another activity, in second activity am showing the listview. Am using arraylist's data to fill the listview, so for that i have used "for" condition for looping. so for that looping its taking time to load that page. That page loading time is depending up on the data in the开发者_如何学Python arraylist, if there is more data in the arraylist then looping taking time. Is there any way to reduce page loading time.
I would take a look into doing your long-running logic in an AsyncTask, and when it's completed, display your listview results. You can find more info on this at:
http://developer.android.com/resources/articles/painless-threading.html
加载中,请稍侯......
精彩评论