Skip to content

Commit

Permalink
Add navigations to player activity
Browse files Browse the repository at this point in the history
  • Loading branch information
Natanel-Shitrit committed Sep 29, 2023
1 parent 111230f commit 1b735e7
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions app/phone/src/main/res/navigation/app_navigation.xml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@
app:exitAnim="@anim/nav_default_exit_anim"
app:popEnterAnim="@anim/nav_default_pop_enter_anim"
app:popExitAnim="@anim/nav_default_pop_exit_anim" />
<action
android:id="@+id/action_libraryFragment_to_playerActivity"
app:destination="@id/playerActivity" />
<argument
android:name="libraryType"
app:argType="dev.jdtech.jellyfin.models.CollectionType" />
Expand Down Expand Up @@ -238,6 +241,9 @@
<action
android:id="@+id/action_favoriteFragment_to_movieFragment"
app:destination="@id/movieFragment" />
<action
android:id="@+id/action_favoriteFragment_to_playerActivity"
app:destination="@id/playerActivity" />
</fragment>
<fragment
android:id="@+id/collectionFragment"
Expand All @@ -261,6 +267,9 @@
<action
android:id="@+id/action_collectionFragment_to_movieFragment"
app:destination="@id/movieFragment" />
<action
android:id="@+id/action_collectionFragment_to_playerActivity"
app:destination="@id/playerActivity" />
</fragment>
<fragment
android:id="@+id/searchResultFragment"
Expand All @@ -276,6 +285,9 @@
<action
android:id="@+id/action_searchResultFragment_to_movieFragment"
app:destination="@id/movieFragment" />
<action
android:id="@+id/action_searchResultFragment_to_playerActivity"
app:destination="@id/playerActivity" />
<argument
android:name="query"
app:argType="string" />
Expand Down Expand Up @@ -407,6 +419,9 @@
app:exitAnim="@anim/nav_default_exit_anim"
app:popEnterAnim="@anim/nav_default_pop_enter_anim"
app:popExitAnim="@anim/nav_default_pop_exit_anim" />
<action
android:id="@+id/action_downloadsFragment_to_playerActivity"
app:destination="@id/playerActivity" />
</fragment>

</navigation>

0 comments on commit 1b735e7

Please sign in to comment.