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
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,8 @@ In the library you'll notice the ViewSwapper component. This is similar to the V
38
38
39
39
- The ViewSwapper *doesn't* allow swiping between views - this allows us to adhere to the guidelines for not allowing the Bottom Navigation to be interacted with in this way
40
40
41
+
- Re-showing the item that is already in view will force a refresh of the views contents. So just like the guidelines state for the Bottom Navigation View, reselecting a navigaton item will reload the contents of the currently displayed item.
42
+
41
43
# How to use
42
44
43
45
In order to use this ViewSwapper component you need to use our SimpleBottomNavigationView - this is simply an extension of the support library component with the added functionality of ViewSwapper attachment and elevation. This will look like so in your layout file:
0 commit comments