org.solovyev.android.sherlock
Class FragmentItemImpl

java.lang.Object
  extended by org.solovyev.android.sherlock.FragmentItemImpl
All Implemented Interfaces:
FragmentItem

public class FragmentItemImpl
extends Object
implements FragmentItem

User: serso Date: 8/7/12 Time: 11:55 AM


Constructor Summary
FragmentItemImpl(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 onSelected(FragmentTransaction ft)
           
 void onUnselected(FragmentTransaction ft)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FragmentItemImpl

public FragmentItemImpl(@Nonnull
                        SherlockFragmentActivity activity,
                        @Nonnull
                        String tag,
                        @Nonnull
                        Class<? extends Fragment> fragmentClass,
                        @Nullable
                        android.os.Bundle fragmentArgs,
                        @Nullable
                        Integer parentViewId)
Constructor used each time a new tab is created.

Parameters:
activity - The host Activity, used to instantiate the fragment
tag - The identifier tag for the fragment
fragmentClass - The fragment's Class, used to instantiate the fragment
fragmentArgs - arguments to be passed to fragment
parentViewId - parent view id
Method Detail

onSelected

public void onSelected(@Nonnull
                       FragmentTransaction ft)
Specified by:
onSelected in interface FragmentItem

onUnselected

public void onUnselected(@Nonnull
                         FragmentTransaction ft)
Specified by:
onUnselected in interface FragmentItem


Copyright © 2014 se.solovyev. All Rights Reserved.