<?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/nav"
    app:startDestination="@id/homeFragment">

    <fragment
        android:id="@+id/homeFragment"
        android:name="com.github.libretube.fragments.HomeFragment"
        android:label="fragment_home"
        tools:layout="@layout/fragment_home" />
    <fragment
        android:id="@+id/subscriptionsFragment"
        android:name="com.github.libretube.fragments.SubscriptionsFragment"
        android:label="fragment_subscriptions"
        tools:layout="@layout/fragment_subscriptions" />
    <fragment
        android:id="@+id/libraryFragment"
        android:name="com.github.libretube.fragments.LibraryFragment"
        android:label="fragment_library"
        tools:layout="@layout/fragment_library" />
    <fragment
        android:id="@+id/searchFragment"
        android:name="com.github.libretube.fragments.SearchFragment"
        android:label="fragment_search"
        tools:layout="@layout/fragment_search" />
    <fragment
        android:id="@+id/searchResultFragment"
        android:name="com.github.libretube.fragments.SearchResultFragment"
        android:label="fragment_search"
        tools:layout="@layout/fragment_search_result" />
    <fragment
        android:id="@+id/channelFragment"
        android:name="com.github.libretube.fragments.ChannelFragment"
        android:label="channel"
        tools:layout="@layout/fragment_channel">
        <argument
            android:name="channel_id"
            app:argType="string" />
    </fragment>
    <fragment
        android:id="@+id/playlistFragment"
        android:name="com.github.libretube.fragments.PlaylistFragment"
        android:label="fragment_playlist"
        tools:layout="@layout/fragment_playlist">
        <argument
            android:name="playlist_id"
            app:argType="string" />
    </fragment>
    <fragment
        android:id="@+id/watchHistoryFragment"
        android:name="com.github.libretube.fragments.WatchHistoryFragment"
        android:label="@string/watch_history"
        tools:layout="@layout/fragment_watch_history" />
</navigation>