Some bugfixes

This commit is contained in:
len
2016-04-15 14:58:36 +02:00
parent deaba48431
commit 17a6ea973e
12 changed files with 72 additions and 24 deletions
@@ -1,10 +1,9 @@
package eu.kanade.tachiyomi.widget
import android.content.Context
import android.support.v7.widget.LinearLayoutManager
import android.support.v7.widget.RecyclerView
class PreCachingLayoutManager(context: Context) : LinearLayoutManager(context) {
class PreCachingLayoutManager(context: Context) : NpaLinearLayoutManager(context) {
companion object {
const val DEFAULT_EXTRA_LAYOUT_SPACE = 600
@@ -19,7 +18,4 @@ class PreCachingLayoutManager(context: Context) : LinearLayoutManager(context) {
return DEFAULT_EXTRA_LAYOUT_SPACE
}
// http://stackoverflow.com/questions/30220771/recyclerview-inconsistency-detected-invalid-item-position
override fun supportsPredictiveItemAnimations() = false
}