tempus/app/src/main/res/navigation/nav_graph.xml

228 lines
10 KiB
XML
Raw Normal View History

2020-11-20 15:38:08 +01: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/nav_graph"
app:startDestination="@id/landingFragment">
<fragment
android:id="@+id/landingFragment"
android:name="com.cappielloantonio.play.ui.fragment.LandingFragment"
android:label="fragment_landing"
2021-04-27 11:12:20 +02:00
tools:layout="@layout/fragment_landing">
2020-11-20 15:38:08 +01:00
<action
android:id="@+id/action_landingFragment_to_loginFragment"
app:destination="@id/loginFragment"
app:popUpTo="@id/landingFragment"
app:popUpToInclusive="true" />
<action
android:id="@+id/action_landingFragment_to_homeFragment"
app:destination="@id/homeFragment"
app:popUpTo="@id/landingFragment"
app:popUpToInclusive="true" />
</fragment>
<fragment
android:id="@+id/loginFragment"
android:name="com.cappielloantonio.play.ui.fragment.LoginFragment"
android:label="LoginFragment"
tools:layout="@layout/fragment_login">
<action
android:id="@+id/action_loginFragment_to_homeFragment"
app:destination="@id/homeFragment"
2020-11-25 08:21:30 +01:00
app:popUpTo="@id/loginFragment"
2020-11-20 15:38:08 +01:00
app:popUpToInclusive="true" />
</fragment>
<fragment
android:id="@+id/homeFragment"
android:name="com.cappielloantonio.play.ui.fragment.HomeFragment"
android:label="HomeFragment"
tools:layout="@layout/fragment_home">
2020-11-24 10:52:00 +01:00
<action
android:id="@+id/action_homeFragment_to_songListPageFragment"
app:destination="@id/songListPageFragment" />
<action
android:id="@+id/action_homeFragment_to_albumListPageFragment"
app:destination="@id/albumListPageFragment" />
<action
android:id="@+id/action_homeFragment_to_artistListPageFragment"
app:destination="@id/artistListPageFragment" />
2021-04-27 13:59:27 +02:00
<action
android:id="@+id/action_homeFragment_to_settingsFragment"
app:destination="@id/settingsFragment" />
<action
android:id="@+id/action_homeFragment_to_albumPageFragment"
app:destination="@id/albumPageFragment" />
<action
android:id="@+id/action_homeFragment_to_artistPageFragment"
app:destination="@id/artistPageFragment" />
2020-11-20 15:38:08 +01:00
</fragment>
<fragment
android:id="@+id/libraryFragment"
android:name="com.cappielloantonio.play.ui.fragment.LibraryFragment"
android:label="LibraryFragment"
2020-11-21 18:41:35 +01:00
tools:layout="@layout/fragment_library">
<action
android:id="@+id/action_libraryFragment_to_artistCatalogueFragment"
app:destination="@id/artistCatalogueFragment" />
<action
android:id="@+id/action_libraryFragment_to_albumCatalogueFragment"
app:destination="@id/albumCatalogueFragment" />
<action
android:id="@+id/action_libraryFragment_to_genreCatalogueFragment"
app:destination="@id/genreCatalogueFragment" />
2021-04-20 15:59:21 +02:00
<action
android:id="@+id/action_libraryFragment_to_playlistCatalogueFragment"
app:destination="@id/playlistCatalogueFragment" />
2020-11-22 19:11:38 +01:00
<action
android:id="@+id/action_libraryFragment_to_artistPageFragment"
2021-04-27 11:12:20 +02:00
app:destination="@id/artistPageFragment" />
2020-11-23 09:28:20 +01:00
<action
android:id="@+id/action_libraryFragment_to_albumPageFragment"
app:destination="@id/albumPageFragment" />
2020-11-24 10:52:00 +01:00
<action
android:id="@+id/action_libraryFragment_to_songListPageFragment"
app:destination="@id/songListPageFragment" />
2021-03-18 18:19:55 +01:00
<action
android:id="@+id/action_libraryFragment_to_playlistPageFragment"
app:destination="@id/playlistPageFragment" />
2020-11-21 18:41:35 +01:00
</fragment>
2020-11-20 15:38:08 +01:00
<fragment
android:id="@+id/settingsFragment"
android:name="com.cappielloantonio.play.ui.fragment.SettingsFragment"
android:label="SettingsFragment"
2021-04-15 10:37:08 +02:00
tools:layout="@layout/fragment_settings">
</fragment>
2020-11-21 13:54:49 +01:00
<fragment
android:id="@+id/searchFragment"
android:name="com.cappielloantonio.play.ui.fragment.SearchFragment"
android:label="SearchFragment"
tools:layout="@layout/fragment_search">
2020-11-22 19:11:38 +01:00
<action
android:id="@+id/action_searchFragment_to_artistPageFragment"
2021-04-27 11:12:20 +02:00
app:destination="@id/artistPageFragment" />
2020-11-23 09:28:20 +01:00
<action
android:id="@+id/action_searchFragment_to_albumPageFragment"
app:destination="@id/albumPageFragment" />
2021-04-20 11:53:51 +02:00
<action
android:id="@+id/action_searchFragment_to_songListPageFragment"
app:destination="@id/songListPageFragment" />
2020-11-21 13:54:49 +01:00
</fragment>
<fragment
android:id="@+id/filterFragment"
android:name="com.cappielloantonio.play.ui.fragment.FilterFragment"
android:label="FilterFragment"
2021-04-27 11:12:20 +02:00
tools:layout="@layout/fragment_filter">
2020-11-25 08:21:30 +01:00
<action
android:id="@+id/action_filterFragment_to_songListPageFragment"
app:destination="@id/songListPageFragment" />
</fragment>
2020-11-21 18:41:35 +01:00
<fragment
android:id="@+id/artistCatalogueFragment"
android:name="com.cappielloantonio.play.ui.fragment.ArtistCatalogueFragment"
android:label="ArtistCatalogueFragment"
2020-11-22 19:11:38 +01:00
tools:layout="@layout/fragment_artist_catalogue">
<action
android:id="@+id/action_artistCatalogueFragment_to_artistPageFragment"
2021-04-27 11:12:20 +02:00
app:destination="@id/artistPageFragment" />
2020-11-22 19:11:38 +01:00
</fragment>
2020-11-21 18:41:35 +01:00
<fragment
android:id="@+id/albumCatalogueFragment"
android:name="com.cappielloantonio.play.ui.fragment.AlbumCatalogueFragment"
android:label="AlbumCatalogueFragment"
2020-11-23 09:28:20 +01:00
tools:layout="@layout/fragment_album_catalogue">
<action
android:id="@+id/action_albumCatalogueFragment_to_albumPageFragment"
app:destination="@id/albumPageFragment" />
</fragment>
2020-11-21 18:41:35 +01:00
<fragment
android:id="@+id/genreCatalogueFragment"
android:name="com.cappielloantonio.play.ui.fragment.GenreCatalogueFragment"
android:label="GenreCatalogueFragment"
2020-11-24 10:52:00 +01:00
tools:layout="@layout/fragment_genre_catalogue">
<action
android:id="@+id/action_genreCatalogueFragment_to_songListPageFragment"
app:destination="@id/songListPageFragment" />
2020-11-25 08:21:30 +01:00
<action
android:id="@+id/action_genreCatalogueFragment_to_filterFragment"
app:destination="@id/filterFragment" />
2020-11-24 10:52:00 +01:00
</fragment>
2021-04-20 15:59:21 +02:00
<fragment
android:id="@+id/playlistCatalogueFragment"
android:name="com.cappielloantonio.play.ui.fragment.PlaylistCatalogueFragment"
android:label="PlaylistCatalogueFragment"
tools:layout="@layout/fragment_playlist_catalogue">
<action
android:id="@+id/action_playlistCatalogueFragment_to_playlistPageFragment"
app:destination="@id/playlistPageFragment" />
</fragment>
2020-11-22 19:11:38 +01:00
<fragment
android:id="@+id/artistPageFragment"
android:name="com.cappielloantonio.play.ui.fragment.ArtistPageFragment"
android:label="ArtistPageFragment"
2020-11-23 09:28:20 +01:00
tools:layout="@layout/fragment_artist_page">
<action
android:id="@+id/action_artistPageFragment_to_albumPageFragment"
app:destination="@id/albumPageFragment" />
2020-11-24 10:52:00 +01:00
<action
android:id="@+id/action_artistPageFragment_to_songListPageFragment"
app:destination="@id/songListPageFragment" />
2020-11-23 09:28:20 +01:00
</fragment>
<fragment
android:id="@+id/albumPageFragment"
android:name="com.cappielloantonio.play.ui.fragment.AlbumPageFragment"
android:label="AlbumPageFragment"
tools:layout="@layout/fragment_album_page">
<action
android:id="@+id/action_albumPageFragment_to_artistPageFragment"
app:destination="@id/artistPageFragment" />
<action
android:id="@+id/action_albumPageFragment_to_songListPageFragment"
app:destination="@id/songListPageFragment" />
</fragment>
2020-11-24 10:52:00 +01:00
<fragment
android:id="@+id/songListPageFragment"
android:name="com.cappielloantonio.play.ui.fragment.SongListPageFragment"
android:label="SongListPageFragment"
2021-04-27 11:12:20 +02:00
tools:layout="@layout/fragment_song_list_page" />
<fragment
android:id="@+id/albumListPageFragment"
android:name="com.cappielloantonio.play.ui.fragment.AlbumListPageFragment"
android:label="AlbumListPageFragment"
tools:layout="@layout/fragment_album_list_page">
<action
android:id="@+id/action_albumListPageFragment_to_albumPageFragment"
app:destination="@id/albumPageFragment" />
</fragment>
<fragment
android:id="@+id/artistListPageFragment"
android:name="com.cappielloantonio.play.ui.fragment.ArtistListPageFragment"
android:label="ArtistListPageFragment"
tools:layout="@layout/fragment_artist_list_page">
<action
android:id="@+id/action_artistListPageFragment_to_artistPageFragment"
app:destination="@id/artistPageFragment" />
</fragment>
2021-03-18 18:19:55 +01:00
<fragment
android:id="@+id/playlistPageFragment"
android:name="com.cappielloantonio.play.ui.fragment.PlaylistPageFragment"
android:label="PlaylistPageFragment"
2021-04-27 11:12:20 +02:00
tools:layout="@layout/fragment_playlist_page" />
2020-12-01 20:04:54 +01:00
<dialog
android:id="@+id/songBottomSheetDialog"
android:name="com.cappielloantonio.play.ui.fragment.bottomsheetdialog.SongBottomSheetDialog"
android:label="SongBottomSheetDialog"
2021-04-27 11:12:20 +02:00
tools:layout="@layout/bottom_sheet_song_dialog" />
2020-12-01 20:04:54 +01:00
<dialog
android:id="@+id/artistBottomSheetDialog"
android:name="com.cappielloantonio.play.ui.fragment.bottomsheetdialog.ArtistBottomSheetDialog"
android:label="ArtistBottomSheetDialog"
2021-04-27 11:12:20 +02:00
tools:layout="@layout/bottom_sheet_artist_dialog" />
2020-12-01 20:04:54 +01:00
<dialog
android:id="@+id/albumBottomSheetDialog"
android:name="com.cappielloantonio.play.ui.fragment.bottomsheetdialog.AlbumBottomSheetDialog"
android:label="AlbumBottomSheetDialog"
2021-04-27 11:12:20 +02:00
tools:layout="@layout/bottom_sheet_album_dialog" />
2020-11-20 15:38:08 +01:00
</navigation>