Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yqritc committed Jun 12, 2015
1 parent 74f19b0 commit b5ea042
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ The following is the simplest usage.
Drawing a divider drawable retrieved from android.R.attr.listDivider between each cell.
```
RecyclerView recyclerView = (RecyclerView) findViewById(R.id.recyclerview);
recyclerView.addItemDecoration(new HorizontalDividerItemDecoration.Builder(this))
recyclerView.addItemDecoration(new HorizontalDividerItemDecoration.Builder(this).build())
```

If you want to set color, size and margin values, you can specify as the followings.
Expand Down

0 comments on commit b5ea042

Please sign in to comment.