Skip to content

用两个tab切换fragment,在fragment中使用这个框架时崩溃 java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first. #21

@langsun

Description

@langsun
java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.
                                                                           at android.view.ViewGroup.addViewInner(ViewGroup.java:4471)
                                                                           at android.view.ViewGroup.addView(ViewGroup.java:4312)
                                                                           at android.view.ViewGroup.addView(ViewGroup.java:4284)
                                                                           at com.scu.miomin.shswiperefresh.core.SHSwipeRefreshLayout.setGuidanceView(SHSwipeRefreshLayout.java:217)
                                                                           at com.scu.miomin.shswiperefresh.core.SHSwipeRefreshLayout.onAttachedToWindow(SHSwipeRefreshLayout.java:202)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions