am getting thumbnail from an url and displaying in listview
i may get more than 30 images or so at a time while geting
these thumbnail screen goes black instead of that i want to
display progress bar

i have checked topics related to progress bar but it is not working for me

i have used this code

myProgressDialog = ProgressDialog.show(TestLayout.this,
                         "Please wait...", "Doing Extreme Calculations...",
true);

               new Thread() {
                    public void run() {
                         try{
                              // Do some Fake-Work
                              sleep(5000);
                         } catch (Exception e) {  }
                         // Dismiss the Dialog
                         myProgressDialog.dismiss();
                    }
               }.start();

it is displaying progress bar replacing the black screen but in the listview

the thumbnails r added later when ie i do scrolling only and some images r
missing

pls can anyone help me to sort out this problem
thanks

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to