final MyAdapter myAdapter = new MyAdapter(this, dataX); AlphaInAnimationAdapter alphaInAnimationAdapter = new AlphaInAnimationAdapter(myAdapter); alphaInAnimationAdapter.setInterpolator(new OvershootInterpolator()); alphaInAnimationAdapter.setDuration(1000); // alphaInAnimationAdapter.setFirstOnly(false); ScaleInAnimationAdapter scalAdapter = new ScaleInAnimationAdapter(alphaInAnimationAdapter); scalAdapter.setFirstOnly(false); recyview.setAdapter(scalAdapter);
滑动条目动画
最新推荐文章于 2022-04-12 08:15:00 发布