Hi guys, I'm inserting a bunch of rows into a `Rec...
# android
e
Hi guys, I'm inserting a bunch of rows into a
RecyclerView
like this
Copy code
notifyItemRangeInserted(startPosition, count)
and I've overridden supportsPredictiveItemAnimations to return true.
Copy code
advancedSearchRecycler.layoutManager = object: LinearLayoutManager(activity) {
            override fun supportsPredictiveItemAnimations(): Boolean {
                return true
            }
        }
The animation is not predictive, rows only appears when insertion animation is done. What am I doing wrong here?
stackoverflow 3