|
@@ -197,6 +197,7 @@ public class BottomTabsLayout extends RelativeLayout implements Layout, AHBottom
|
197
|
197
|
if (isCurrentStack(screenStack)) {
|
198
|
198
|
bottomTabs.setStyleFromScreen(screenParams.styleParams);
|
199
|
199
|
}
|
|
200
|
+ snackbarContainer.onScreenChange();
|
200
|
201
|
}
|
201
|
202
|
|
202
|
203
|
@Override
|
|
@@ -207,12 +208,14 @@ public class BottomTabsLayout extends RelativeLayout implements Layout, AHBottom
|
207
|
208
|
setBottomTabsStyleFromCurrentScreen();
|
208
|
209
|
}
|
209
|
210
|
});
|
|
211
|
+ snackbarContainer.onScreenChange();
|
210
|
212
|
}
|
211
|
213
|
|
212
|
214
|
@Override
|
213
|
215
|
public void popToRoot(ScreenParams params) {
|
214
|
216
|
getCurrentScreenStack().popToRoot(params.animateScreenTransitions);
|
215
|
217
|
setBottomTabsStyleFromCurrentScreen();
|
|
218
|
+ snackbarContainer.onScreenChange();
|
216
|
219
|
}
|
217
|
220
|
|
218
|
221
|
@Override
|
|
@@ -227,14 +230,15 @@ public class BottomTabsLayout extends RelativeLayout implements Layout, AHBottom
|
227
|
230
|
screenStacks[currentStackIndex] = newStack;
|
228
|
231
|
|
229
|
232
|
bottomTabs.setStyleFromScreen(params.styleParams);
|
|
233
|
+ snackbarContainer.onScreenChange();
|
230
|
234
|
}
|
231
|
235
|
|
232
|
236
|
@Override
|
233
|
237
|
public void destroy() {
|
|
238
|
+ snackbarContainer.destroy();
|
234
|
239
|
for (ScreenStack screenStack : screenStacks) {
|
235
|
240
|
screenStack.destroy();
|
236
|
241
|
}
|
237
|
|
-
|
238
|
242
|
if (sideMenu != null) {
|
239
|
243
|
sideMenu.destroy();
|
240
|
244
|
}
|