Rajesh Tiwari

Results 1 comments of Rajesh Tiwari

You can use mDrawerList.addItemDecoration(new DividerItemDecoration(getActivity(), R.drawable.drawer_line)); //mDrawerList is RecyclerView //Divider class public class DividerItemDecoration extends RecyclerView.ItemDecoration { private static final int[] ATTRS = new int[]{android.R.attr.listDivider}; private Drawable mDivider; ``` /**...