You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.3 KiB

<?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/fragment_movies">
<fragment
android:id="@+id/CinemaFragment"
android:name="fr.iut.cinecool.fragments.CinemaFragment"
android:label="Cinema Fragment"
tools:layout="@layout/fragment_cinema"/>
<fragment
android:id="@+id/fragment_movies"
android:name="fr.iut.cinecool.fragments.MoviesFragment"
android:label="@string/first_fragment_label"
tools:layout="@layout/fragment_movies">
<action
android:id="@+id/movies_to_sessions"
app:destination="@id/SessionFragment">
</action>
<action
android:id="@+id/movies_to_cinema"
app:destination="@id/CinemaFragment" />
</fragment>
<fragment
android:id="@+id/SessionFragment"
android:name="fr.iut.cinecool.fragments.SessionFragment"
android:label="SessionFragment"
tools:layout="@layout/fragment_session">
<action
android:id="@+id/action_SessionFragment_to_fragment_movies"
app:destination="@id/fragment_movies" />
</fragment>
</navigation>