just put progress bar before imageView in xml and hide the progress bar as
the image downloads

ProgressBar progressBar = (ProgressBar)
layout.findViewById(R.id.progressbar_default);

            if(bitmap != null){
                imageView.setImageBitmap(bitmap);
                imageView.setVisibility(View.VISIBLE);
                progressBar.setVisibility(View.GONE);
            }else{
                imageView.setVisibility(View.GONE);
                progressBar.setVisibility(View.VISIBLE);
            }



On Mon, Mar 5, 2012 at 6:17 PM, Seshu <s.seshu...@gmail.com> wrote:

> Hi all,
>          I am using grid view and i am downloading the images from
> internet and need to place in gridview. when images are downloading means i
> need to show the progress dialog for each photo downloading in gridview.
> for reference i am attached the image. Can any one help me how to achieve
> this task.
>
> Thanks and Regards,
> S.Seshu.
> s.seshu143(at)gmail(dot)com
>
> --
> 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

-- 
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

Reply via email to