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

ViewAnimation assumes I'm using a Linear Layout Manager #13

Open
bruno1308 opened this issue Dec 11, 2016 · 0 comments
Open

ViewAnimation assumes I'm using a Linear Layout Manager #13

bruno1308 opened this issue Dec 11, 2016 · 0 comments

Comments

@bruno1308
Copy link

Line #270 and #271 of ViewAnimation.java:
int lastVisiblePosition = ((LinearLayoutManager)mRecyclerView.getLayoutManager()).findLastCompletelyVisibleItemPosition();
It tries to cast my layout manager to a linear layout, which is not the case, since I'm using StaggeredGridLayoutManager.

Am I missing something or the lib does not support the use of another type of Layout Manager?

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