This symmetry sounds familiar. Please double check that you did the
convertView trick properly (watch the Google I/O video). This is hard
to get right. If it still does not work please tell me what layouts/
views your list items are made up of (I suspect a bug with some
views). A good idea is ofcourse always to iteratively simplify your
code to something that works (one thread and simple listview) and see
what the culprit is.

On 25 jun, 03:35, Peter <[email protected]> wrote:
> As described previously, I have two threads that use a handler to
> update items in a ListView Adapter. However, as they load, they
> briefly show up in two spots in the list. This is really annoying, but
> I can't figure out exactly what is going on. One thought I have is
> that the reason I see this happen is because of the slowness of the
> icons loading, and if it was faster, I wouldn't notice it.
>
> Has anyone else seen an item in a ListView briefly displayed twice? In
> my example, if there are six items visible, 1 loads, 6 mirrors it, 2
> loads, 5 mirrors it, 3 loads, 4 loads, 5 reloads, 6 reloads.
>
> My code uses a similar pattern to something like the Settings - Manage
> Applications page.
>
> On Jun 24, 10:52 am, Peter <[email protected]> wrote:
>
> > No, getView() itself is quite simple. There are threads running while
> > getView() is being called, but no threads spawned inside getView().
>
> > On Jun 24, 8:24 am, Guru <[email protected]> wrote:
>
> > > Are you running any thread in the getView of the adapter?
>
> > > On Wed, Jun 24, 2009 at 2:04 PM, Peter <[email protected]> wrote:
>
> > > > I have a listview that is populated by a couple threads that pull in
> > > > data from the network. Before that data comes in, there are some
> > > > default values displayed. When the screen loads, there are 6 items
> > > > displayed, each with the default data. The 1st (index 0) loads and is
> > > > updated on the screen, and then number 6 (index 5) is updated with
> > > > that same info. Then, item 2 (index 1) loads, and then item 5 (index
> > > > 4) mirrors that data. Then item 3 loads, then item 4 reloads with the
> > > > correct data, then then item 5 with the correct data, then item 6.
>
> > > > Why are items 5 and 6 briefly showing the data from other elements in
> > > > the list? I can't figure out what in the world could be causing this.
>
> > > --
> > > Thanks and Regards
> > > Gurudutt P.S.
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to