Commit f5226315 authored by Daniel Wolf's avatar Daniel Wolf
Browse files

Nevermind

parent 3599d53c
......@@ -217,11 +217,11 @@ open class ListDataSource<T>(val list: List<T>,
}
override fun hasItemAtInstant(position: Int): Boolean {
return list.size > (position - getPositionOffset(position))
return list.size > (position)
}
override fun getItemAtInstant(position: Int): T {
return list[position + getPositionOffset(position)]
return list[position]
}
override fun hasItemAt(position: Int): Boolean {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment