Skip to content Skip to sidebar Skip to footer

Bottom App Bar Slide Up/down On Navigating With Fragments (navigation Architecture Components)

I was having a look at the Bottom App Bar and there is a nice feature to hide it on scroll app:hideOnScroll='true'. The problem it that I cannot figure it out how to slide it up or

Solution 1:

I think you are looking for the perfomShow() method of the BottomAppBar as documented here. I'm using v1.1.0 too and the method is there but I have not tested it so far. Will update this when I were able to.

Edit 1: Typo

Edit 2: The method is working: Video

Solution 2:

The problem has nothing to do with nav component, since it's behaving correctly. Just call bottom_appbar.show() along with calling your navigation code.

Post a Comment for "Bottom App Bar Slide Up/down On Navigating With Fragments (navigation Architecture Components)"