I've got a custom expandable list adapter that I have subclassed. Inside 
the getChildView method I create a new Linear Layout in horizontal 
orientation, and create either a text view and a toggle button, or a 
textview and a seek bar, depending on what type of child I'm creating. 
After creating the Toggle Button / Seek Bar I assign it a unique id, the 
ids start at 10101.... This works great as I can later use findViewById 
to grab the object and disable it when I want.

The problem begins when you slide out (or rotate, if you have auto 
rotate) the phone, after which it loses connection with these objects. 
Calling findViewById no longer finds the object.... any ideas?

Any help is _greatly_ appreciated!


Regards,
Ben Williamson

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to