public class FragmentItemImpl extends Object implements FragmentItem
| Constructor and Description |
|---|
FragmentItemImpl(SherlockFragmentActivity activity,
String tag,
Class<? extends Fragment> fragmentClass,
android.os.Bundle fragmentArgs,
Integer parentViewId)
Constructor used each time a new tab is created.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onSelected(FragmentTransaction ft) |
void |
onUnselected(FragmentTransaction ft) |
public FragmentItemImpl(@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 idpublic void onSelected(@Nonnull FragmentTransaction ft)
onSelected in interface FragmentItempublic void onUnselected(@Nonnull FragmentTransaction ft)
onUnselected in interface FragmentItemCopyright © 2015 se.solovyev. All Rights Reserved.