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

crash happen when showing the demo of 'Debug muti view types' #483

Open
hi2hcs opened this issue Feb 13, 2018 · 0 comments
Open

crash happen when showing the demo of 'Debug muti view types' #483

hi2hcs opened this issue Feb 13, 2018 · 0 comments

Comments

@hi2hcs
Copy link

hi2hcs commented Feb 13, 2018

java.lang.IllegalArgumentException: ViewStub must have a valid layoutResource
at android.view.ViewStub.inflate(ViewStub.java:284)
at android.view.ViewStub.setVisibility(ViewStub.java:235)
at com.marshalchen.ultimaterecyclerview.UltimateRecyclerView.updateHelperDisplays(UltimateRecyclerView.java:862)
at com.marshalchen.ultimaterecyclerview.UltimateRecyclerView.access$400(UltimateRecyclerView.java:61)
at com.marshalchen.ultimaterecyclerview.UltimateRecyclerView$3.onItemRangeInserted(UltimateRecyclerView.java:798)
at android.support.v7.widget.RecyclerView$AdapterDataObservable.notifyItemRangeInserted(RecyclerView.java:11564)
at android.support.v7.widget.RecyclerView$Adapter.notifyItemInserted(RecyclerView.java:6871)
at com.marshalchen.ultimaterecyclerview.UltimateViewAdapter.insertInternal(UltimateViewAdapter.java:380)
at com.marshalchen.ultimaterecyclerview.demo.multiitemdemo.MultiViewTypesRecyclerViewAdapter.insert(MultiViewTypesRecyclerViewAdapter.java:54)
at com.marshalchen.ultimaterecyclerview.demo.multiitemdemo.MultiViewTypesActivity$1$1.run(MultiViewTypesActivity.java:72)
at android.os.Handler.handleCallback(Handler.java:815)
at android.os.Handler.dispatchMessage(Handler.java:104)
at android.os.Looper.loop(Looper.java:207)
at android.app.ActivityThread.main(ActivityThread.java:5975)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:679)

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