# DividerItemDecoration Simple RecyclerView ItemDecoration Based on [fatfingers](https://gist.github.com/fatfingers/233abbae200b5e87297b) implementation. ## Features - Can use any drawable as divider - Divider visible also at the beginning and end of the item's list (disable by deffault) - Only works with `LinearLayoutManager` ## Example Default android divider ```java mCategoryRecyclerView.addItemDecoration( new DividerItemDecoration(getActivity(), null)); ``` Custom divider with first also end and last dividers ```java mCategoryRecyclerView.addItemDecoration( new DividerItemDecoration(getActivity().getDrawable(R.drawable.ic_launcher), true, true)); ```