Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用MultiTypeView 在滑到第11个itme后报强转类型报错 #7

Open
xianningqis opened this issue Jun 11, 2018 · 1 comment
Open

Comments

@xianningqis
Copy link

No description provided.

@xianningqis
Copy link
Author

java.lang.ClassCastException: android.widget.ImageView cannot be cast to android.view.ViewGroup
at android.support.v4.app.FragmentTransition.configureTransitionsOrdered(FragmentTransition.java:310)
at android.support.v4.app.FragmentTransition.startTransitions(FragmentTransition.java:134)
at android.support.v4.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2380)
at android.support.v4.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2338)
at android.support.v4.app.FragmentManagerImpl.execSingleAction(FragmentManager.java:2215)
at android.support.v4.app.BackStackRecord.commitNowAllowingStateLoss(BackStackRecord.java:649)
at com.dounion.dosmart.mylibrary.provider.FragmentDataProvider.onViewAttachedToWindow(FragmentDataProvider.java:74)
at com.dounion.dosmart.mylibrary.MultiTypeAdapter.onViewAttachedToWindow(MultiTypeAdapter.java:196)
at android.support.v7.widget.RecyclerView.dispatchChildAttached(RecyclerView.java:7161)
at android.support.v7.widget.RecyclerView$5.addView(RecyclerView.java:782)
at android.support.v7.widget.ChildHelper.addView(ChildHelper.java:107)
at android.support.v7.widget.RecyclerView$LayoutManager.addViewInt(RecyclerView.java:8222)
at android.support.v7.widget.RecyclerView$LayoutManager.addView(RecyclerView.java:8180)
at android.support.v7.widget.RecyclerView$LayoutManager.addView(RecyclerView.java:8168)
at android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1573)

@xianningqis xianningqis changed the title 使用MultiTypeView 在第一次刷新数据后,第二次不显示数据,确定已经拿到数据了 使用MultiTypeView 在滑到第11个itme后报强转类型报错 Jun 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant