Cleanup all unnecessary easyrv usage, prepare to drop easyrv

This commit is contained in:
tarsin committed 2023-07-16 18:38:54 +08:00
1 parent 4f23cf5d8d
commit 91accb6655
4 files changed
+3 -34

No files matched your search

@@ -83,7 +83,6 @@ import com.hippo.ehviewer.ui.doGalleryInfoAction
import com.hippo.ehviewer.ui.legacy.AddDeleteDrawable
import com.hippo.ehviewer.ui.legacy.BaseDialogBuilder
import com.hippo.ehviewer.ui.legacy.BringOutTransition
import com.hippo.ehviewer.ui.legacy.EasyRecyclerView
import com.hippo.ehviewer.ui.legacy.EditTextDialogBuilder
import com.hippo.ehviewer.ui.legacy.FabLayout
import com.hippo.ehviewer.ui.legacy.FabLayout.OnClickFabListener
@@ -521,7 +520,7 @@ class GalleryListScene : SearchBarScene() {
private fun showAddQuickSearchDialog(
adapter: QsDrawerAdapter,
recyclerView: EasyRecyclerView,
recyclerView: RecyclerView,
tip: TextView,
) {
val context = context ?: return
@@ -14,7 +14,7 @@
~ limitations under the License.
-->
<com.hippo.ehviewer.ui.legacy.EasyRecyclerView xmlns:android="http://schemas.android.com/apk/res/android"
<androidx.recyclerview.widget.RecyclerView xmlns:android="http://schemas.android.com/apk/res/android"
style="@style/Indicating"
android:layout_width="match_parent"
android:layout_height="match_parent"
+1 -1
View File
@@ -44,7 +44,7 @@
android:layout_gravity="center"
android:visibility="gone" />
<com.hippo.ehviewer.ui.legacy.EasyRecyclerView
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recycler_view_drawer"
android:layout_width="match_parent"
android:layout_height="match_parent" />
@@ -1,30 +0,0 @@
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright 2022 Tarsin Norbin
~
~ This file is part of EhViewer
~
~ EhViewer is free software: you can redistribute it and/or modify it
~ under the terms of the GNU General Public License as published
~ by the Free Software Foundation, either version 3 of the License, or
~ (at your option) any later version.
~
~ EhViewer is distributed in the hope that it will be useful, but WITHOUT
~ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
~ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
~
~ You should have received a copy of the GNU General Public License along with EhViewer.
~ If not, see <https://www.gnu.org/licenses/>.
-->
<com.hippo.ehviewer.ui.legacy.EasyRecyclerView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@android:id/list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clipToPadding="false"
android:fadeScrollbars="true"
android:scrollbarStyle="outsideOverlay"
android:scrollbars="vertical"
app:fitsSystemWindowsInsets="bottom"
tools:ignore="UnusedResources"
tools:viewBindingIgnore="true" />