cyntacks wrote:
> Working with a TabHost, Is it possible to keep the Java code for the
> tabs in separate files? 

Sure. There are any number of ways to do this. Here's one:

-- Your TabActivity (or plain Activity that knows about the TabHost) is 
one class
-- It creates instances of TabOneWrapper and TabTwoWrapper, passing each 
the View that represents that tab's contents
-- TabOneWrapper and TabTwoWrapper are their own classes in their own 
files, not necessarily subclassing anything in particular

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 1.3 Published!

--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to