org.solovyev.android.fragments
Class MultiPaneFragmentDef
java.lang.Object
org.solovyev.android.fragments.MultiPaneFragmentDef
public final class MultiPaneFragmentDef
- extends Object
|
Method Summary |
Fragment |
build()
|
boolean |
canReuse(Fragment fragment)
|
static MultiPaneFragmentDef |
forClass(String tag,
boolean addToBackStack,
Class<? extends Fragment> fragmentClass,
android.content.Context context,
android.os.Bundle args)
|
static MultiPaneFragmentDef |
forClass(String tag,
boolean addToBackStack,
Class<? extends Fragment> fragmentClass,
android.content.Context context,
android.os.Bundle args,
org.solovyev.common.JPredicate<Fragment> reuseCondition)
|
static MultiPaneFragmentDef |
fromFragmentDef(FragmentDef fragmentDef,
android.os.Bundle fragmentArgs,
android.content.Context context)
|
String |
getTag()
|
boolean |
isAddToBackStack()
|
static MultiPaneFragmentDef |
newInstance(String tag,
boolean addToBackStack,
org.solovyev.common.Builder<? extends Fragment> builder,
org.solovyev.common.JPredicate<Fragment> reuseCondition)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
forClass
@Nonnull
public static MultiPaneFragmentDef forClass(@Nonnull
String tag,
boolean addToBackStack,
@Nonnull
Class<? extends Fragment> fragmentClass,
@Nonnull
android.content.Context context,
@Nullable
android.os.Bundle args)
forClass
@Nonnull
public static MultiPaneFragmentDef forClass(@Nonnull
String tag,
boolean addToBackStack,
@Nonnull
Class<? extends Fragment> fragmentClass,
@Nonnull
android.content.Context context,
@Nullable
android.os.Bundle args,
@Nullable
org.solovyev.common.JPredicate<Fragment> reuseCondition)
newInstance
@Nonnull
public static MultiPaneFragmentDef newInstance(@Nonnull
String tag,
boolean addToBackStack,
@Nonnull
org.solovyev.common.Builder<? extends Fragment> builder,
@Nullable
org.solovyev.common.JPredicate<Fragment> reuseCondition)
fromFragmentDef
@Nonnull
public static MultiPaneFragmentDef fromFragmentDef(@Nonnull
FragmentDef fragmentDef,
@Nullable
android.os.Bundle fragmentArgs,
@Nonnull
android.content.Context context)
isAddToBackStack
public boolean isAddToBackStack()
getTag
@Nonnull
public String getTag()
build
@Nonnull
public Fragment build()
canReuse
public boolean canReuse(@Nonnull
Fragment fragment)
Copyright © 2013. All Rights Reserved.