SHSwipeRefreshLayout icon indicating copy to clipboard operation
SHSwipeRefreshLayout copied to clipboard

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

Open langsun opened this issue 7 years ago • 0 comments

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)

langsun avatar Jul 16 '18 10:07 langsun