Android activity with tabs: how do i get the Fragment instance behind the active tab -


I have an activity that applies tabs, basically I delete it:

There are tabs which contain one piece of activation, such as:

  mTabHost.addTab (mTabHost.newTabSpec ("tab1"). Set indicator ("Tab 1", GetResources (). GetDrawable (Android .r.drawable.star_on), Fragment.Tab. Class, Faucet; // How Can I Recover, Examples of French Tabs?   

I have added a TabChangeListener implementation and when a tab Active, I get a notification,

But: How can I work the piece behind the tab example.

TIA

BG

Well, you can not do this, No tab is activated and when it is disabled, the installation is stopped.

Instead of the data being activated, segment / view Instead, instead I try to drag data into Crete - each time the piece is activated.

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -