muditsen / multilevelrecyclerview

This is extension of recycler view to make it behave as multilevel expandable list view.
48 stars 24 forks source link

Not compatible with android 8/Oreo support-compat #4

Closed devjta closed 6 years ago

devjta commented 7 years ago

In class DefaultItemAnimator remove line 18: import android.support.v4.animation.AnimatorCompatHelper; Then at line 506-508, you have the method resetAnimation Change the first line from: AnimatorCompatHelper.clearInterpolator(holder.itemView); to this: holder.itemView.animate().setInterpolator(new ValueAnimator().getInterpolator());

Then it is fully Android Oreo/Android 8.0 compatible.