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
* Added `shouldHandleMenuItem()`, which can be overridden to handle some menu items yourself in the listener set via `setNavigationItemSelectedListener()`.
A small library containing two adapters which allow for easy fragment management with a NavigationView.
5
+
A small library containing two adapters which allow for easy fragment management with a NavigationView or BottomNavigationView.
6
6
7
7
The library handles replacing the fragments and saving/restoring the fragment state, including showing the right fragment when opening an app again after it was killed.
8
8
@@ -45,7 +45,7 @@ Now, create an instance and attach it to your NavigationView in your Activity `o
45
45
46
46
Also, don't forget to call `adapter.onSaveInstanceState()` in your Activity `onSaveInstanceState()`.
47
47
48
-
Now you have your navigation drawer up and running, including state saving of the fragments.
48
+
Now you have your navigation drawer or bottom navigation view up and running, including state saving of the fragments.
49
49
50
50
# Advanced Usage
51
51
@@ -97,7 +97,7 @@ A basic sample app with example Activities for both adapters is available in the
97
97
The library is available on jCenter. Add the following to your `build.gradle`:
Copy file name to clipboardExpand all lines: library/src/main/java/com/patloew/navigationviewfragmentadapters/CloseDrawerNavigationItemSelectedListener.java
0 commit comments