org.solovyev.android.fragments
Class SimpleFragmentReuseCondition<F extends Fragment>
java.lang.Object
org.solovyev.android.fragments.AbstractFragmentReuseCondition<F>
org.solovyev.android.fragments.SimpleFragmentReuseCondition<F>
- All Implemented Interfaces:
- org.solovyev.common.JPredicate<Fragment>
public class SimpleFragmentReuseCondition<F extends Fragment>
- extends AbstractFragmentReuseCondition<F>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
forClass
@Nonnull
public static <F extends Fragment> org.solovyev.common.JPredicate<Fragment> forClass(@Nonnull
Class<F> fragmentClass)
canReuseFragment
protected boolean canReuseFragment(@Nonnull
F fragment)
- Specified by:
canReuseFragment in class AbstractFragmentReuseCondition<F extends Fragment>
- Parameters:
fragment - typed for fragment on which reuse check must be done
- Returns:
- true if fragment can be reused
Copyright © 2013. All Rights Reserved.