addressalign-toparrow-leftarrow-leftarrow-right-10x10arrow-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 1languagelaunch-new-window--smalllight-bulblightning-boltlinklocation-pinlockm-swarmSearchmailmediummessagesminusmobilemoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstar-shapestartickettrashtriangle-downtriangle-uptwitteruserwarningyahooyoutube

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.


Regards,
Georgi



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 ).
 
Brian




--
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
group are also in: