addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscontroller-playcredit-cardcrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobe--smallglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1launch-new-window--smalllight-bulblinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

RE: [softwaredev-154] TabHost question

From: gd
Sent on: Saturday, May 9, 2009 12:02 PM
Hi Brian,

I have not used TabActivity before, but I would guess that it is similar to a ListActiivty and its Adapter. In ListActivity, Android recycles the views in the list as the user scrolls. If you are not careful, old data can show up when the view is recycled.


Subject: [softwaredev-154] TabHost question
From: [address removed]
To: [address removed]
Date: Fri, 8 May[masked]:42:44 -0400

Has anyone run into this particular issue before? I'm trying to write a TabActivity with two tabs, and am seeing the elements from the second tab being rendered when the first tab is selected ( that is, in addition to the elements of the first tab, so that both are appearing ). I've been able to get the same thing to happen in a simple example ( a modification of a demo I downloaded ).

Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Brian Metzger ([address removed]) from Informal Android Developer Meetup.
To learn more about Brian Metzger, visit his/her member profile
To unsubscribe or to update your mailing list settings, click here

Meetup Support: [address removed]
632 Broadway, New York, NY 10012 USA

Insert movie times and more without leaving Hotmail?. See how.

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy