Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 405ff7459f | |||
| 87b7863b46 |
+1
-1
@@ -75,7 +75,7 @@ abstract class BaseBottomNavigationController<TNavigationTab : BaseNavigationTab
|
||||
// Detach current primary fragment
|
||||
fragmentManager.primaryNavigationFragment?.let(transaction::detach)
|
||||
|
||||
val fragmentName = "tabClass.canonicalName"
|
||||
val fragmentName = tabClass.canonicalName
|
||||
var fragment = fragmentManager.findFragmentByTag(fragmentName)
|
||||
|
||||
if (state == null && fragment != null) {
|
||||
|
||||
@@ -28,6 +28,14 @@ public class Switcher extends FrameLayout {
|
||||
@Nullable
|
||||
private Animation outAnimation;
|
||||
|
||||
public void setOutAnimation(@Nullable Animation outAnimation) {
|
||||
this.outAnimation = outAnimation;
|
||||
}
|
||||
|
||||
public void setInAnimation(@Nullable Animation inAnimation) {
|
||||
this.inAnimation = inAnimation;
|
||||
}
|
||||
|
||||
public Switcher(@NonNull final Context context) {
|
||||
this(context, null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user