滑动条目动画

    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);

你可能感兴趣的:(滑动条目动画)