2020-08-11 18:29:44 +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/retro_graph"
|
|
|
|
app:startDestination="@id/libraryFragment">
|
|
|
|
|
|
|
|
<include app:graph="@navigation/settings_graph" />
|
|
|
|
|
|
|
|
<include app:graph="@navigation/library_graph" />
|
|
|
|
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/genreDetailsFragment"
|
|
|
|
android:name="code.name.monkey.retromusic.fragments.genres.GenreDetailsFragment"
|
|
|
|
android:label="GenreDetailsFragment"
|
|
|
|
tools:layout="@layout/fragment_playlist_detail">
|
|
|
|
<argument
|
|
|
|
android:name="extra_genre"
|
|
|
|
app:argType="code.name.monkey.retromusic.model.Genre" />
|
|
|
|
</fragment>
|
|
|
|
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/playlistDetailsFragment"
|
|
|
|
android:name="code.name.monkey.retromusic.fragments.playlists.PlaylistDetailsFragment"
|
|
|
|
android:label="PlaylistDetailsFragment"
|
|
|
|
tools:layout="@layout/fragment_playlist_detail">
|
|
|
|
<argument
|
|
|
|
android:name="extra_playlist"
|
|
|
|
app:argType="code.name.monkey.retromusic.model.Playlist" />
|
|
|
|
</fragment>
|
|
|
|
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/albumDetailsFragment"
|
|
|
|
android:name="code.name.monkey.retromusic.fragments.albums.AlbumDetailsFragment"
|
|
|
|
android:label="AlbumDetailsFragment"
|
2020-08-11 22:20:22 +00:00
|
|
|
tools:layout="@layout/fragment_album_details">
|
2020-08-11 18:29:44 +00:00
|
|
|
<argument
|
|
|
|
android:name="extra_album_id"
|
|
|
|
app:argType="integer" />
|
|
|
|
</fragment>
|
|
|
|
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/artistDetailsFragment"
|
|
|
|
android:name="code.name.monkey.retromusic.fragments.artists.ArtistDetailsFragment"
|
|
|
|
android:label="ArtistDetailsFragment"
|
|
|
|
tools:layout="@layout/fragment_artist_details">
|
|
|
|
<argument
|
|
|
|
android:name="extra_artist_id"
|
|
|
|
app:argType="integer" />
|
|
|
|
</fragment>
|
|
|
|
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/libraryFragment"
|
|
|
|
android:name="code.name.monkey.retromusic.fragments.library.LibraryFragment"
|
|
|
|
android:label="LibraryFragment"
|
|
|
|
tools:layout="@layout/fragment_library">
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_main_to_library"
|
|
|
|
app:destination="@id/library_graph" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_main_to_settings"
|
|
|
|
app:destination="@id/settings_graph" />
|
|
|
|
</fragment>
|
|
|
|
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/searchFragment"
|
2020-08-11 18:58:14 +00:00
|
|
|
android:name="code.name.monkey.retromusic.fragments.search.SearchFragment"
|
2020-08-11 18:29:44 +00:00
|
|
|
android:label="SearchFragment"
|
|
|
|
tools:layout="@layout/fragment_search" />
|
|
|
|
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/settingsFragment"
|
|
|
|
android:name="code.name.monkey.retromusic.fragments.settings.SettingsFragment"
|
|
|
|
android:label="SettingsFragment"
|
|
|
|
tools:layout="@layout/fragment_settings" />
|
|
|
|
|
|
|
|
</navigation>
|