You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(Preconditions: Whe are showing a Fragment with a BottomSheetLayout. A view is showing in that layout. This 'sheetView' has a unique id assigned to it.
When performing a Fragment transaction to transition to another screen, onSaveInstanceState() is called on the sheetView. When placing a breakpoint inside BottomsheetLayout.dismissSheet(), we see that this method was not called.
However when pressing the back button to return to our Fragment, the sheetView has disappeared even though other views (ie TextViews) have restored properly, showing their content. Upon inspecting the view hierarchy we see that the sheetView has disappeared completely. Why is this, and how can I fix this? I want the BottomSheet to re-appear in whichever state it was (HIDDEN, PEEKED, EXPANDED), without animation.
The text was updated successfully, but these errors were encountered:
(Preconditions: Whe are showing a Fragment with a BottomSheetLayout. A view is showing in that layout. This 'sheetView' has a unique id assigned to it.
When performing a Fragment transaction to transition to another screen, onSaveInstanceState() is called on the sheetView. When placing a breakpoint inside BottomsheetLayout.dismissSheet(), we see that this method was not called.
However when pressing the back button to return to our Fragment, the sheetView has disappeared even though other views (ie TextViews) have restored properly, showing their content. Upon inspecting the view hierarchy we see that the sheetView has disappeared completely. Why is this, and how can I fix this? I want the BottomSheet to re-appear in whichever state it was (HIDDEN, PEEKED, EXPANDED), without animation.
The text was updated successfully, but these errors were encountered: