RecyclerAnimations icon indicating copy to clipboard operation
RecyclerAnimations copied to clipboard

Recycler's Animations,when items slide in!

Results 1 RecyclerAnimations issues
Sort by recently updated
recently updated
newest added

我是动态加载recyclerview的,动画采用的是在onBindViewHolder加入动画: `void onBindViewHolder(RecyclerView.ViewHolder holder, int position) { // other code ... View itemView=holder.itemView; itemView.setTranslationY(MetricUtils.getScrHeight(mContext)); itemView.animate() .translationY(0) .setInterpolator(new DecelerateInterpolator(3.f)) .setDuration(300) .start();}` 然而在新增列表项的时候,动画显示不出来,而且新增的项目消失了