mirror of
https://github.com/KokaKiwi/BarInsta
synced 2025-04-28 18:02:02 +00:00
132 lines
4.1 KiB
XML
132 lines
4.1 KiB
XML
<?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/discover_nav_graph"
|
|
app:startDestination="@id/discoverFragment">
|
|
|
|
<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>
|
|
|
|
<include app:graph="@navigation/profile_nav_graph" />
|
|
|
|
<action
|
|
android:id="@+id/action_global_profileFragment"
|
|
app:destination="@id/profile_nav_graph">
|
|
<argument
|
|
android:name="username"
|
|
app:argType="string"
|
|
app:nullable="true" />
|
|
</action>
|
|
|
|
<include app:graph="@navigation/location_nav_graph" />
|
|
|
|
<action
|
|
android:id="@+id/action_global_locationFragment"
|
|
app:destination="@id/location_nav_graph">
|
|
<argument
|
|
android:name="locationId"
|
|
app:argType="long" />
|
|
</action>
|
|
|
|
<include app:graph="@navigation/comments_nav_graph" />
|
|
|
|
<action
|
|
android:id="@+id/action_global_commentsViewerFragment"
|
|
app:destination="@id/comments_nav_graph">
|
|
<argument
|
|
android:name="shortCode"
|
|
app:argType="string"
|
|
app:nullable="false" />
|
|
<argument
|
|
android:name="postId"
|
|
app:argType="string"
|
|
app:nullable="false" />
|
|
<argument
|
|
android:name="postUserId"
|
|
app:argType="long" />
|
|
</action>
|
|
|
|
<include app:graph="@navigation/likes_nav_graph" />
|
|
|
|
<action
|
|
android:id="@+id/action_global_likesViewerFragment"
|
|
app:destination="@id/likes_nav_graph">
|
|
<argument
|
|
android:name="postId"
|
|
app:argType="string"
|
|
app:nullable="false" />
|
|
<argument
|
|
android:name="isComment"
|
|
app:argType="boolean"
|
|
app:nullable="false" />
|
|
</action>
|
|
|
|
<include app:graph="@navigation/saved_nav_graph" />
|
|
|
|
<action
|
|
android:id="@+id/action_global_savedCollectionsFragment"
|
|
app:destination="@id/saved_nav_graph">
|
|
<argument
|
|
android:name="isSaving"
|
|
app:argType="boolean" />
|
|
</action>
|
|
|
|
<include app:graph="@navigation/notification_viewer_nav_graph" />
|
|
|
|
<action
|
|
android:id="@+id/action_global_notificationsViewerFragment"
|
|
app:destination="@id/notification_viewer_nav_graph">
|
|
<argument
|
|
android:name="type"
|
|
app:argType="string"
|
|
app:nullable="false" />
|
|
<argument
|
|
android:name="targetId"
|
|
android:defaultValue="0L"
|
|
app:argType="long" />
|
|
</action>
|
|
|
|
<action
|
|
android:id="@+id/action_global_search"
|
|
app:destination="@id/searchFragment" />
|
|
|
|
<fragment
|
|
android:id="@+id/discoverFragment"
|
|
android:name="awais.instagrabber.fragments.main.DiscoverFragment"
|
|
android:label="@string/title_discover"
|
|
tools:layout="@layout/fragment_discover">
|
|
<action
|
|
android:id="@+id/action_discoverFragment_to_topicPostsFragment"
|
|
app:destination="@id/topicPostsFragment" />
|
|
</fragment>
|
|
<fragment
|
|
android:id="@+id/topicPostsFragment"
|
|
android:name="awais.instagrabber.fragments.TopicPostsFragment"
|
|
tools:layout="@layout/fragment_topic_posts">
|
|
<argument
|
|
android:name="topicCluster"
|
|
app:argType="awais.instagrabber.repositories.responses.discover.TopicCluster" />
|
|
|
|
<argument
|
|
android:name="titleColor"
|
|
app:argType="integer" />
|
|
|
|
<argument
|
|
android:name="backgroundColor"
|
|
app:argType="integer" />
|
|
</fragment>
|
|
<fragment
|
|
android:id="@+id/searchFragment"
|
|
android:name="awais.instagrabber.fragments.search.SearchFragment"
|
|
android:label="@string/search"
|
|
tools:layout="@layout/fragment_search" />
|
|
</navigation> |