len 8 年之前
父節點
當前提交
568b90d0b4
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7 0
      app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryAdapter.kt

+ 7 - 0
app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryAdapter.kt

@@ -76,4 +76,11 @@ class LibraryAdapter(private val fragment: LibraryFragment) : RecyclerViewPagerA
         return categories[position].name
     }
 
+    /**
+     * Returns the position of the item. Always assume the position has changed.
+     */
+    override fun getItemPosition(`object`: Any?): Int {
+        return POSITION_NONE
+    }
+
 }