|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.solovyev.android.sherlock.tabs.ActionBarFragmentTabListener
public class ActionBarFragmentTabListener
User: serso Date: 8/4/12 Time: 12:42 PM
| Constructor Summary | |
|---|---|
ActionBarFragmentTabListener(SherlockFragmentActivity activity,
String tag,
Class<? extends Fragment> fragmentClass,
android.os.Bundle fragmentArgs,
Integer parentViewId)
Constructor used each time a new tab is created. |
|
| Method Summary | |
|---|---|
void |
onTabReselected(ActionBar.Tab tab,
FragmentTransaction ft)
Called when a tab that is already selected is chosen again by the user. |
void |
onTabSelected(ActionBar.Tab tab,
FragmentTransaction ft)
Called when a tab enters the selected state. |
void |
onTabUnselected(ActionBar.Tab tab,
FragmentTransaction ft)
Called when a tab exits the selected state. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ActionBarFragmentTabListener(@Nonnull
SherlockFragmentActivity activity,
@Nonnull
String tag,
@Nonnull
Class<? extends Fragment> fragmentClass,
@Nullable
android.os.Bundle fragmentArgs,
@Nullable
Integer parentViewId)
activity - The host Activity, used to instantiate the fragmenttag - The identifier tag for the fragmentfragmentClass - The fragment's Class, used to instantiate the fragmentfragmentArgs - arguments to be passed to fragmentparentViewId - parent view id| Method Detail |
|---|
public void onTabSelected(ActionBar.Tab tab,
FragmentTransaction ft)
ActionBar.TabListener
onTabSelected in interface ActionBar.TabListenertab - The tab that was selectedft - A FragmentTransaction for queuing fragment operations to execute
during a tab switch. The previous tab's unselect and this tab's select will be
executed in a single transaction. This FragmentTransaction does not support
being added to the back stack.
public void onTabUnselected(ActionBar.Tab tab,
FragmentTransaction ft)
ActionBar.TabListener
onTabUnselected in interface ActionBar.TabListenertab - The tab that was unselectedft - A FragmentTransaction for queuing fragment operations to execute
during a tab switch. This tab's unselect and the newly selected tab's select
will be executed in a single transaction. This FragmentTransaction does not
support being added to the back stack.
public void onTabReselected(ActionBar.Tab tab,
FragmentTransaction ft)
ActionBar.TabListener
onTabReselected in interface ActionBar.TabListenertab - The tab that was reselected.ft - A FragmentTransaction for queuing fragment operations to execute
once this method returns. This FragmentTransaction does not support
being added to the back stack.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||