java.lang.IllegalStateException

Can't retain fragements that are nested in other fragments

Solutions on the web7050

  • via Stack Overflow by Gorets
    , 6 months ago
    Can't retain fragements that are nested in other fragments
  • via GitHub by ened
    , 1 year ago
    Can't retain fragements that are nested in other fragments
  • via Stack Overflow by Andrew
    , 9 months ago
    Can't retain fragements that are nested in other fragments
  • Stack trace

    • java.lang.IllegalStateException: Can't retain fragements that are nested in other fragments at android.support.v4.app.Fragment.setRetainInstance(Fragment.java:784)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.