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
StickyHeaderView empty list on Scroll error #3
Comments
I'm gettin the same error. It's reproducible adding one item and touching the empty zone too |
@BeMyHeart @aaronr0207 Can you show me your code? Sorry for delay. |
Yes, tell me if it is enought. Didn't include the view cause isn't relevant I though. My recycler items model Recycler list item (non header) Recycler header item Initialization + Populate list |
@aaronr0207 What the |
UserList contains my models sticky view and subTexts |
@TellH Header items and regular items, as DataBean models: https://gist.github.com/aaronr0207/a0d7eb1de98f653abd1f36ab4b50b654 Didn't see the notification, sorry |
Process: uz.iutlab.jiznstudenta, PID: 28326
java.lang.IllegalArgumentException: maxSize <= 0
at android.util.LruCache.(LruCache.java:82)
at tellh.com.stickyheaderview_rv.StickyHeaderView$1.onScrollStateChanged(StickyHeaderView.java:72)
at android.support.v7.widget.RecyclerView.dispatchOnScrollStateChanged(RecyclerView.java:4609)
at android.support.v7.widget.RecyclerView.setScrollState(RecyclerView.java:1371)
at android.support.v7.widget.RecyclerView.onTouchEvent(RecyclerView.java:2829)
at android.view.View.dispatchTouchEvent(View.java:10013)
When StickyHeaderView is empty it gives exception
The text was updated successfully, but these errors were encountered: