@NonNull
    public Parcelable onSaveInstanceState() {
        Bundle bundle = new Bundle();

        bundle.putInt(SAVEDINSTANCESTATE_FIRSTANIMATEDPOSITION, mFirstAnimatedPosition);
        bundle.putInt(SAVEDINSTANCESTATE_LASTANIMATEDPOSITION, mLastAnimatedPosition);
        bundle.putBoolean(SAVEDINSTANCESTATE_SHOULDANIMATE, mShouldAnimate);

        return bundle;
    }
@NonNull
    public Parcelable onSaveInstanceState() {
        Bundle bundle = new Bundle();

        bundle.putInt(SAVEDINSTANCESTATE_FIRSTANIMATEDPOSITION, mFirstAnimatedPosition);
        bundle.putInt(SAVEDINSTANCESTATE_LASTANIMATEDPOSITION, mLastAnimatedPosition);
        bundle.putBoolean(SAVEDINSTANCESTATE_SHOULDANIMATE, mShouldAnimate);

        return bundle;
    }
@ NonNull public Parcelable onSaveInstanceState ( ) { Bundle bundle = new Bundle ( ) ; bundle . putInt ( SAVEDINSTANCESTATE_FIRSTANIMATEDPOSITION , mFirstAnimatedPosition ) ; bundle . putInt ( SAVEDINSTANCESTATE_LASTANIMATEDPOSITION , mLastAnimatedPosition ) ; bundle . putBoolean ( SAVEDINSTANCESTATE_SHOULDANIMATE , mShouldAnimate ) ; return bundle ; }
Returns a Parcelable object containing the AnimationAdapter's current dynamic state.
Returns a Parcelable object containing the AnimationAdapter s current dynamic state .