1. Are you ready for the Galaxy S20? Here is everything we know so far!

Performance issue while loading listview

Discussion in 'Android Apps & Games' started by ravinderreddy, Sep 21, 2011.

  1. ravinderreddy

    ravinderreddy Lurker
    Thread Starter

    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 arraylist, if there is more data in the arraylist then looping taking time. Is there any way to reduce page loading time.

    first activity one search button is there if i click that button it will do some backgrond process for that i have used Async Task, at that time i have displayed progress dialog. in post execute i have dismissed that dialog box. after completing the background process here it is moving to next activity an it is displying listview in next activity, so i have already displayed progress dialog one time so how can i display one more dialog bar in next activity one more time.


    List view is taking time to load data from arraylist with the help og adapter.
     

    Advertisement

Loading...
Similar Threads - Performance issue while
  1. kumaranil13k
    Replies:
    2
    Views:
    267
  2. androidDev123
    Replies:
    3
    Views:
    454
  3. Matt Lumpkins
    Replies:
    9
    Views:
    716
  4. jameslee0071992
    Replies:
    1
    Views:
    378
  5. 1337Rooster
    Replies:
    2
    Views:
    307
  6. Big Boar
    Replies:
    0
    Views:
    321
  7. Dragoslavtheconqueror
    Replies:
    4
    Views:
    1,293
  8. GiorgioT
    Replies:
    0
    Views:
    1,502
  9. meridius
    Replies:
    5
    Views:
    1,811
  10. akki9231
    Replies:
    4
    Views:
    822

Share This Page

Loading...