Browse Source
Move activity notification viewer to its own nav graph. Fixes https://github.com/austinhuang0131/barinsta/issues/247
renovate/org.robolectric-robolectric-4.x
Move activity notification viewer to its own nav graph. Fixes https://github.com/austinhuang0131/barinsta/issues/247
renovate/org.robolectric-robolectric-4.x
Ammar Githam
4 years ago
8 changed files with 51 additions and 21 deletions
-
14app/src/main/java/awais/instagrabber/activities/MainActivity.java
-
3app/src/main/java/awais/instagrabber/fragments/settings/MorePreferencesFragment.java
-
6app/src/main/res/navigation/direct_messages_nav_graph.xml
-
6app/src/main/res/navigation/discover_nav_graph.xml
-
6app/src/main/res/navigation/feed_nav_graph.xml
-
14app/src/main/res/navigation/more_nav_graph.xml
-
17app/src/main/res/navigation/notification_viewer_nav_graph.xml
-
6app/src/main/res/navigation/profile_nav_graph.xml
@ -0,0 +1,17 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<navigation xmlns:android="http://schemas.android.com/apk/res/android" |
||||
|
xmlns:app="http://schemas.android.com/apk/res-auto" |
||||
|
xmlns:tools="http://schemas.android.com/tools" |
||||
|
android:id="@+id/notification_viewer_nav_graph" |
||||
|
app:startDestination="@id/notificationsViewer"> |
||||
|
|
||||
|
<fragment |
||||
|
android:id="@+id/notificationsViewer" |
||||
|
android:name="awais.instagrabber.fragments.NotificationsViewerFragment" |
||||
|
android:label="@string/title_notifications" |
||||
|
tools:layout="@layout/fragment_notifications_viewer" /> |
||||
|
|
||||
|
<action |
||||
|
android:id="@+id/action_global_notificationsViewerFragment" |
||||
|
app:destination="@id/notificationsViewer" /> |
||||
|
</navigation> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue