Created
November 15, 2016 14:28
-
-
Save sembozdemir/8956368f4e353358d523a53d757f5009 to your computer and use it in GitHub Desktop.
ToDoKotlin - ViewExtensions.kt (only defaultDivider())
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
fun _RecyclerView.defaultDivider() { | |
addItemDecoration(DividerItemDecoration(context, LinearLayout.VERTICAL)) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment