...
 
Commits (2)
package net.dankito.utils.android.extensions
import android.support.v7.widget.RecyclerView
import net.dankito.utils.android.ui.adapter.viewholder.HorizontalDividerItemDecoration
fun RecyclerView.addHorizontalDividerItemDecoration() {
this.addItemDecoration(HorizontalDividerItemDecoration(this.context))
}
\ No newline at end of file
package net.dankito.utils.android.ui.adapter.viewholder
import android.content.Context
import android.support.v7.widget.DividerItemDecoration
class HorizontalDividerItemDecoration(context: Context) : DividerItemDecoration(context, DividerItemDecoration.VERTICAL)
\ No newline at end of file