2020-08-30 06:47:04 +00:00
|
|
|
<?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"
|
2020-09-11 13:27:09 +00:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2020-08-30 06:47:04 +00:00
|
|
|
android:id="@+id/more_nav_graph"
|
|
|
|
app:startDestination="@id/morePreferencesFragment">
|
|
|
|
|
2020-09-11 13:27:09 +00:00
|
|
|
<include app:graph="@navigation/post_view_nav_graph" />
|
|
|
|
<include app:graph="@navigation/profile_nav_graph" />
|
|
|
|
<include app:graph="@navigation/hashtag_nav_graph" />
|
|
|
|
<include app:graph="@navigation/location_nav_graph" />
|
|
|
|
<include app:graph="@navigation/comments_nav_graph" />
|
|
|
|
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_postViewFragment"
|
|
|
|
app:destination="@id/post_view_nav_graph">
|
|
|
|
<argument
|
|
|
|
android:name="index"
|
|
|
|
app:argType="integer" />
|
|
|
|
<argument
|
|
|
|
android:name="idOrCodeArray"
|
|
|
|
app:argType="string[]" />
|
|
|
|
<argument
|
|
|
|
android:name="isId"
|
|
|
|
app:argType="boolean" />
|
|
|
|
</action>
|
|
|
|
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_profileFragment"
|
|
|
|
app:destination="@id/profile_nav_graph">
|
|
|
|
<argument
|
|
|
|
android:name="username"
|
|
|
|
app:argType="string"
|
|
|
|
app:nullable="true" />
|
|
|
|
</action>
|
|
|
|
|
2020-09-18 19:18:14 +00:00
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_hashTagFragment"
|
|
|
|
app:destination="@id/hashtag_nav_graph">
|
|
|
|
<argument
|
|
|
|
android:name="hashtag"
|
|
|
|
app:argType="string"
|
|
|
|
app:nullable="false" />
|
|
|
|
</action>
|
|
|
|
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_locationFragment"
|
|
|
|
app:destination="@id/location_nav_graph">
|
|
|
|
<argument
|
|
|
|
android:name="locationId"
|
|
|
|
app:argType="string"
|
|
|
|
app:nullable="false" />
|
|
|
|
</action>
|
|
|
|
|
2020-08-30 06:47:04 +00:00
|
|
|
<fragment
|
|
|
|
android:id="@+id/morePreferencesFragment"
|
|
|
|
android:name="awais.instagrabber.fragments.settings.MorePreferencesFragment"
|
2020-09-07 20:01:44 +00:00
|
|
|
android:label="@string/more">
|
2020-08-30 06:47:04 +00:00
|
|
|
<action
|
|
|
|
android:id="@+id/action_morePreferencesFragment_to_settingsPreferencesFragment"
|
|
|
|
app:destination="@id/settingsPreferencesFragment" />
|
2020-09-10 19:29:02 +00:00
|
|
|
<action
|
|
|
|
android:id="@+id/action_morePreferencesFragment_to_aboutFragment"
|
|
|
|
app:destination="@id/aboutFragment" />
|
2020-09-11 13:27:09 +00:00
|
|
|
<action
|
|
|
|
android:id="@+id/action_morePreferencesFragment_to_notificationsViewer"
|
|
|
|
app:destination="@id/notificationsViewer" />
|
2020-09-18 19:18:14 +00:00
|
|
|
<action
|
|
|
|
android:id="@+id/action_morePreferencesFragment_to_favoritesFragment"
|
|
|
|
app:destination="@id/favoritesFragment" />
|
2020-08-30 06:47:04 +00:00
|
|
|
</fragment>
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/settingsPreferencesFragment"
|
|
|
|
android:name="awais.instagrabber.fragments.settings.SettingsPreferencesFragment"
|
2020-09-13 10:21:14 +00:00
|
|
|
android:label="@string/action_settings">
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_settingsPreferencesFragment_to_themePreferencesFragment"
|
|
|
|
app:destination="@id/themePreferencesFragment" />
|
|
|
|
</fragment>
|
2020-09-10 19:29:02 +00:00
|
|
|
<fragment
|
|
|
|
android:id="@+id/aboutFragment"
|
|
|
|
android:name="awais.instagrabber.fragments.settings.AboutFragment"
|
|
|
|
android:label="@string/action_about" />
|
2020-09-11 13:27:09 +00:00
|
|
|
<fragment
|
|
|
|
android:id="@+id/notificationsViewer"
|
|
|
|
android:name="awais.instagrabber.fragments.NotificationsViewerFragment"
|
|
|
|
android:label="@string/title_notifications"
|
|
|
|
tools:layout="@layout/fragment_notifications_viewer" />
|
2020-09-13 10:21:14 +00:00
|
|
|
<fragment
|
|
|
|
android:id="@+id/themePreferencesFragment"
|
|
|
|
android:name="awais.instagrabber.fragments.settings.ThemePreferencesFragment"
|
|
|
|
android:label="@string/theme_settings" />
|
2020-09-18 19:18:14 +00:00
|
|
|
<fragment
|
|
|
|
android:id="@+id/favoritesFragment"
|
|
|
|
android:name="awais.instagrabber.fragments.FavoritesFragment"
|
|
|
|
android:label="@string/title_favorites" />
|
2020-08-30 06:47:04 +00:00
|
|
|
</navigation>
|