2020-08-29 08:01:42 +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"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:id="@+id/profile_nav_graph"
|
|
|
|
app:startDestination="@id/profileFragment">
|
2020-08-30 14:24:28 +00:00
|
|
|
|
|
|
|
<include app:graph="@navigation/hashtag_nav_graph" />
|
|
|
|
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_hashTagFragment"
|
|
|
|
app:destination="@id/hashtag_nav_graph">
|
|
|
|
<argument
|
|
|
|
android:name="hashtag"
|
|
|
|
app:argType="string"
|
|
|
|
app:nullable="false" />
|
|
|
|
</action>
|
|
|
|
|
2020-09-02 17:02:31 +00:00
|
|
|
<include app:graph="@navigation/post_view_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>
|
|
|
|
|
2020-08-30 14:24:28 +00:00
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_profileFragment"
|
|
|
|
app:destination="@id/profileFragment">
|
|
|
|
<argument
|
|
|
|
android:name="username"
|
2020-09-02 17:02:31 +00:00
|
|
|
android:defaultValue=""
|
2020-08-30 14:24:28 +00:00
|
|
|
app:argType="string"
|
|
|
|
app:nullable="false" />
|
|
|
|
</action>
|
|
|
|
|
2020-08-29 08:01:42 +00:00
|
|
|
<fragment
|
|
|
|
android:id="@+id/profileFragment"
|
|
|
|
android:name="awais.instagrabber.fragments.main.ProfileFragment"
|
|
|
|
android:label="@string/profile"
|
2020-09-02 17:02:31 +00:00
|
|
|
tools:layout="@layout/fragment_profile">
|
2020-08-30 14:24:28 +00:00
|
|
|
<argument
|
|
|
|
android:name="username"
|
2020-09-02 17:02:31 +00:00
|
|
|
android:defaultValue=""
|
2020-08-30 14:24:28 +00:00
|
|
|
app:argType="string"
|
2020-09-02 17:02:31 +00:00
|
|
|
app:nullable="true" />
|
2020-09-03 15:15:53 +00:00
|
|
|
<action
|
|
|
|
android:id="@+id/action_profileFragment_to_savedViewerFragment"
|
|
|
|
app:destination="@id/savedViewerFragment" />
|
|
|
|
</fragment>
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/savedViewerFragment"
|
|
|
|
android:name="awais.instagrabber.fragments.SavedViewerFragment"
|
|
|
|
android:label="Saved"
|
|
|
|
tools:layout="@layout/fragment_saved">
|
|
|
|
<argument
|
|
|
|
android:name="username"
|
|
|
|
app:argType="string"
|
|
|
|
app:nullable="false" />
|
|
|
|
<argument
|
|
|
|
android:name="profileId"
|
|
|
|
app:argType="string"
|
|
|
|
app:nullable="false" />
|
|
|
|
<argument
|
|
|
|
android:name="type"
|
|
|
|
app:argType="awais.instagrabber.models.enums.PostItemType"
|
|
|
|
app:nullable="false" />
|
2020-08-30 14:24:28 +00:00
|
|
|
</fragment>
|
2020-08-29 08:01:42 +00:00
|
|
|
</navigation>
|