Re: [android-developers] Re: Horizontal progress bar in Dynamic list view

2011-09-15 Thread TreKing
On Thu, Sep 15, 2011 at 1:03 AM, ganesh  wrote:

> But, the problem is I am getting flickering effect once the list
> get refreshed.
> Progressbar disappears and comes again.
>
> Could you give some pointers to avoid this flickering effect ??
>

Not sure a that. Are you *always* creating a new ProgressBar or do you
re-use the convertView parameter when it's not null (which you should be)?

-
TreKing  - Chicago
transit tracking app for Android-powered devices

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

Re: [android-developers] Re: Horizontal progress bar in Dynamic list view

2011-09-14 Thread TreKing
On Wed, Sep 14, 2011 at 10:30 AM, ganesh  wrote:

> So, all the view items like TextView, Progressbar of each row of
> the listview get created again inside getview() method of the Adpater.
>

Then adjust the progress bar to match the current state of the track it
represents after you create it.

-
TreKing  - Chicago
transit tracking app for Android-powered devices

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