title: The Navigation Architecture Component animation
body: <p>I've been following the sample from <a href="https://github.com/googlesamples/android-architecture-components/tree/master/NavigationBasicSample" rel="noreferrer">NavigationBasicSample</a></p>
  
  <p>but used newest library for navigation:</p>
  
  <pre><code>implementation "android.arch.navigation:navigation-fragment-ktx:1.0.0-alpha05"
  implementation "android.arch.navigation:navigation-ui-ktx:1.0.0-alpha05"
  </code></pre>
  
  <p>and androidx library:</p>
  
  <pre><code>implementation 'androidx.core:core-ktx:1.0.0-rc01'
  implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
  implementation 'androidx.appcompat:appcompat:1.0.0-rc01'
  implementation 'androidx.constraintlayout:constraintlayout:1.1.2'
  implementation 'com.google.android.material:material:1.0.0-rc01'
  implementation 'androidx.legacy:legacy-support-v4:1.0.0-rc01'
  implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0-rc01'
  </code></pre>
  
  <p>and add to bundle.gradle</p>
  
  <pre><code>androidExtensions {
          experimental = true
  }
  </code></pre>
  
  <p>all works except animation. It is bug maybe or ?</p>
  
  <p>this is my nav_graph:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;navigation xmlns:app="http://schemas.android.com/apk/res-auto"
      xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      android:id="@+id/nav_graph"
      app:startDestination="@+id/categoryFragment"&gt;
      &lt;fragment
          android:id="@+id/categoryFragment"
          android:name="com.sample.CategoriesFragment"
          android:label="Categories"
          tools:layout="@layout/fragment_categories"&gt;
          &lt;action
              android:id="@+id/action_categoryFragment_to_itemsFragment"
              app:destination="@id/itemsFragment"
              app:popEnterAnim="@anim/slide_in_left"
              app:popExitAnim="@anim/slide_out_right"
              app:enterAnim="@anim/slide_in_right"
              app:exitAnim="@anim/slide_out_left" /&gt;
      &lt;/fragment&gt;
      &lt;fragment
          android:id="@+id/itemsFragment"
          android:name="com.sample.ItemsFragment"
          android:label="Items"
          tools:layout="@layout/fragment_items" &gt;
  
          &lt;argument android:name="cat_id" android:defaultValue="-1" /&gt;
  
      &lt;/fragment&gt;
  
  &lt;/navigation&gt;
  </code></pre>
  
  <p>and my navhost fragment:</p>
  
  <pre><code>&lt;fragment
          android:id="@+id/fragment_nav_host"
          app:defaultNavHost="true"
          android:name="androidx.navigation.fragment.NavHostFragment"
          app:navGraph="@navigation/nav_graph"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          app:layout_behavior="@string/appbar_scrolling_view_behavior"
  /&gt;
  </code></pre>