Created
December 28, 2020 21:33
-
-
Save magdamiu/503a1327242f32d518629d55e671776e to your computer and use it in GitHub Desktop.
Set an item decorator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void setItemDecorator() { | |
RecyclerView.ItemDecoration itemDecoration = new | |
DividerItemDecoration(this, DividerItemDecoration.VERTICAL); | |
recyclerViewEmails.addItemDecoration(itemDecoration); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment