RecyclerViewItemAnimators icon indicating copy to clipboard operation
RecyclerViewItemAnimators copied to clipboard

ViewAnimation assumes I'm using a Linear Layout Manager

Open bruno1308 opened this issue 8 years ago • 0 comments

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?

bruno1308 avatar Dec 11 '16 18:12 bruno1308