Friday, February 3, 2012

Re: [android-developers] Re: Header button above tabs not able to manage the activity under the tabs

vani reddy wrote:
> I have inflated the refresh button and made it static in the tabactivity,
> When i click on it the particular activity which is open under the tab
> should refresh i.e call a thread ,but wen i click on it when the
> firstactivity is open, the second actiivity thread is called.
>

still don't know what you mean - if you have TabHost instance and call
getCurrentTab() you will get the index of the current tab and
depending on that index you can do whatever you want, so again what's
the problem?

pskink

--
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
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate