GitHub - ABRadzh/ErrorNavigation: Exaple getting error after update androidx dependencies androidx.navigation:navigation-fragment, get IllegalStateException "The specified child already has a parent. You must call removeView() on the child's parent first." after onbackpressed on ViewPager.

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Repository files navigation

ErrorNavigation

After update androidx dependencies from androidx.navigation:navigation-fragment:2.0.0 on 2.2.0 application is crashed after press button "Back". Crash always after return from other fragment to previous fragment containing FragmentPagerAdapter. This example for getting error IllegalStateException "The specified child already has a parent. You must call removeView() on the child's parent first." after onbackpressed on ViewPager.

Error fixed.

See https://stackoverflow.com/questions/60170291/androidx-navigationnavigation-fragment2-2-0-get-you-must-call-removeview-o?answertab=votes#tab-top for decision. Thank https://stackoverflow.com/users/8353050/alejandro-m

About

Exaple getting error after update androidx dependencies androidx.navigation:navigation-fragment, get IllegalStateException "The specified child already has a parent. You must call removeView() on the child's parent first." after onbackpressed on ViewPager.

Resources

Readme

Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks

Releases

No releases published

Languages