android - Recyclerview ObjectAnimator -
i implemented animation item holder. however, when tried slide view , down, noticed view items animated , don't, it's random. there cause this?
private static void transition(recyclerview.viewholder holder) { objectanimator animator = objectanimator.offloat(holder.itemview, "translationx", -150, 0); animator.setduration(500); animator.start(); } @override public void onbindviewholder(movieview holder, int position) { ......... ......... transition(holder); }
Comments
Post a Comment