BottomNavArchDemo icon indicating copy to clipboard operation
BottomNavArchDemo copied to clipboard

The demo project for Bottom Navigation with Navigation Architecture Components article

Results 2 BottomNavArchDemo issues
Sort by recently updated
recently updated
newest added

I have this problem when I try to add setContentView(R.layout.activity_main) ``` Error inflating class androidx.fragment.app.FragmentContainerView 2021-04-02 17:32:17.701 31750-31750/myapp.app W/System.err: Caused by: java.lang.IllegalStateException: Fragment class was not set 2021-04-02 17:32:17.701 31750-31750/myapp.app...

https://github.com/wajahatkarim3/BottomNavArchDemo/blob/6c5bc457bb09f2fc263059d7b516f3c670e9ab3d/app/src/main/java/com/wajahatkarim3/bottomnavigationdemo/MainActivity.kt#L35 I have uncommented this line and the app appears OK, do you recommend this approach?