Hmmm..

If only the documentation clearly outlined some sort of 'onTabChanged'
listener.... well that would be exactly what you need.

Shame that the SDK reference doesn't have a pge liek this one,
http://developer.android.com/reference/android/widget/TabHost.OnTabChangeListener.html
that introduces such a method.

Yes, I am being sarcastic. RTFM

On Nov 19, 3:39 pm, JasonMP <[email protected]> wrote:
> Hi,
> I have an app that is broken up int a few tabs across the top.  Each
> tab runs an activity that modifies different areas of my database.
> What I'm trying to accomplish is that each time a user changes tabs, i
> want to be able to run some code to update the displays with any new
> information from the database.  How do I specify that a specific
> function is supposed to run when the tab is activated?  the onStart()/
> onCreate() dont seem to be doing it.

-- 
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