Skip to content
Snippets Groups Projects
Verified Commit 52a28862 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Fixes #138

parent 6a832371
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,7 @@ class MarkerLineItemDecoration(
}
}
override fun onDraw(c: Canvas, parent: RecyclerView, state: RecyclerView.State) {
override fun onDrawOver(c: Canvas, parent: RecyclerView, state: RecyclerView.State) {
c.save()
val left: Int
val right: Int
......@@ -75,7 +75,6 @@ class MarkerLineItemDecoration(
adapter[parent.getChildAdapterPosition(view)]?.let {
if (it.isMarkerLine) {
view.setTag(R.id.tag_markerline, true)
outRect.set(0, 0, height, 0)
} else {
view.setTag(R.id.tag_markerline, false)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment