car/src/main/java/androidx/car/drawer/CarDrawerController.java
private void runLayoutAnimation(@AnimRes int animation) {
        RecyclerView recyclerView = mDrawerList.getRecyclerView();
        recyclerView.setLayoutAnimation(AnimationUtils.loadLayoutAnimation(mContext, animation));
        recyclerView.getAdapter().notifyDataSetChanged();
        recyclerView.scheduleLayoutAnimation();
    }
/**
     * Runs the given layout animation on the PagedListView. Running this animation will also
     * refresh the contents of the list.
     */
Runs the given layout animation on the PagedListView. Running this animation will also
refresh the contents of the list.
Runs the given layout animation on the PagedListView . Running this animation will also refresh the contents of the list .
private void runLayoutAnimation(@AnimRes int animation) {
        RecyclerView recyclerView = mDrawerList.getRecyclerView();
        recyclerView.setLayoutAnimation(AnimationUtils.loadLayoutAnimation(mContext, animation));
        recyclerView.getAdapter().notifyDataSetChanged();
        recyclerView.scheduleLayoutAnimation();
    }
private void runLayoutAnimation ( @ AnimRes int animation ) { RecyclerView recyclerView = mDrawerList . getRecyclerView ( ) ; recyclerView . setLayoutAnimation ( AnimationUtils . loadLayoutAnimation ( mContext , animation ) ) ; recyclerView . getAdapter ( ) . notifyDataSetChanged ( ) ; recyclerView . scheduleLayoutAnimation ( ) ; }
Runs the given layout animation on the PagedListView.
Runs the given layout animation on the PagedListView .