Skip to content
This repository was archived by the owner on Dec 1, 2017. It is now read-only.

Update BaseLayoutManager.java#264

Open
Veronikapj wants to merge 3 commits into
lucasr:masterfrom
Veronikapj:bug_fix_arrayindexoutofboundsexception
Open

Update BaseLayoutManager.java#264
Veronikapj wants to merge 3 commits into
lucasr:masterfrom
Veronikapj:bug_fix_arrayindexoutofboundsexception

Conversation

@Veronikapj

Copy link
Copy Markdown

(I am not English user, I hope you can understand my words)
When fast scrolling,
setItemEntryForPosition(position, entry) method called before mItemEntries make at ensureLayoutState().

if(mItemEntries == null) mItemEntries = new Itementries();

so I changed new ItemEntries() making time.

(I am not English user, I hope you can understand my words)
When fast scrolling, 
setItemEntryForPosition(position, entry) method called before mItemEntries make at ensureLayoutState().

if(mItemEntries == null) mItemEntries = new Itementries();

so I changed new ItemEntries() making time.
I think sizeForPosition(position) method is complication.
default mItemEntries size changed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant