From 0fe0088ff0f97eaf63f450899b95e0e9603e2194 Mon Sep 17 00:00:00 2001 From: len Date: Fri, 15 Apr 2016 15:52:53 +0200 Subject: [PATCH] Also use no predictive animations for AutofitRecyclerView --- .../java/eu/kanade/tachiyomi/widget/AutofitRecyclerView.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/widget/AutofitRecyclerView.kt b/app/src/main/java/eu/kanade/tachiyomi/widget/AutofitRecyclerView.kt index 11a8e1140..7439bc4c7 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/widget/AutofitRecyclerView.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/widget/AutofitRecyclerView.kt @@ -1,14 +1,13 @@ package eu.kanade.tachiyomi.widget import android.content.Context -import android.support.v7.widget.GridLayoutManager import android.support.v7.widget.RecyclerView import android.util.AttributeSet class AutofitRecyclerView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null) : RecyclerView(context, attrs) { - private val manager = GridLayoutManager(context, 1) + private val manager = NpaGridLayoutManager(context, 1) private var columnWidth = -1