java.lang.IllegalStateException: Fragment does not have a view

Stack Overflow | Paul Drummond | 4 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    How to create an Android Tabbed Dialog containing fragments?

    Stack Overflow | 4 years ago | Paul Drummond
    java.lang.IllegalStateException: Fragment does not have a view
  2. 0

    Android java.lang.IllegalStateException: No activity

    Stack Overflow | 1 year ago | shimi_tap
    java.lang.IllegalStateException: No activity 1

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Fragment does not have a view

      at android.support.v4.app.Fragment$1.findViewById()
    2. Android Support v4
      FragmentManagerImpl.moveToState
      1. android.support.v4.app.Fragment$1.findViewById(Fragment.java:1425)
      2. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:901)
      3. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1088)
      3 frames