เมื่อใช้androidx.fragment.app.FragmentContainerViewเป็น navHost แทนfragmentแอปทั่วไปจะไม่สามารถนำทางไปยังปลายทางหลังจากเปลี่ยนทิศทางแล้ว
ฉันได้รับข้อผิดพลาดต่อไปนี้: 
java.lang.IllegalStateException: no current navigation node
มี gotcha ที่ฉันควรรู้เกี่ยวกับการใช้อย่างถูกต้องหรือวิธีการใช้ส่วนประกอบ nav ไม่ถูกต้องหรือไม่?
กิจกรรม xml อย่างง่ายพร้อมมุมมอง:
...
    <androidx.fragment.app.FragmentContainerView
        android:id="@+id/nav_host_fragment"
        android:name="androidx.navigation.fragment.NavHostFragment"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        app:defaultNavHost="true"
        app:layout_behavior="@string/appbar_scrolling_view_behavior"
        app:navGraph="@navigation/nav_simple" />
...
รหัสนำทาง:
<?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_legislator.xml"
    app:startDestination="@id/initialFragment">
    <fragment
        android:id="@+id/initialFragment"
        android:name="com.example.fragmenttag.InitialFragment"
        android:label="Initial Fragment"
        tools:layout="@layout/initial_fragment">
        <action
            android:id="@+id/action_initialFragment_to_destinationFragment"
            app:destination="@id/destinationFragment" />
    </fragment>
    <fragment
        android:id="@+id/destinationFragment"
        android:name="com.example.fragmenttag.DestinationFragment"
        android:label="Destination Fragment"
        tools:layout="@layout/destination_fragment" />
</navigation>
นี่คือ repo github ที่คุณสามารถสร้างข้อผิดพลาดได้อย่างง่ายดาย: https://github.com/dmytroKarataiev/navHostBug
<fragmentFragmentContainerView