Anyone?

On Feb 7, 4:33 pm, ivan <istas...@gmail.com> wrote:
> I'm using a ResourceCursorAdapter to display a list of downloads from
> a ContentProvider that track's my application's downloads -- modeled
> after Android's DownloadProvider.
>
> The problem is that when a download is actively running it frequently
> calls bind view--every few seconds--to update a download progress bar,
> with a view object that is NOT currently associated with a given
> cursor position.  Thus, bind view is constantly recycling and binding
> view objects to new item/cursor positions.
>
> This is especially a problem if the user attempts to push a button on
> one of the items while it's being bound to a different view object and
> cursor position, which results in an event being fired for the wrong
> data.
>
> Does anyone have advice on how to minimize unnecessary view recycling?
>
> It appears to only occur for the bottom and top list items (of the
> three on the screen), while the middle item remains tied to a single
> cursor and view object.
>
> Thanks,
> -Ivan

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