Using common ViewHolder for WebtoonBaseHolder

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
This commit is contained in:
Jays2Kings 2021-04-23 14:54:37 -04:00
parent cb175e2a93
commit 87ef22003c

View File

@ -3,13 +3,13 @@ package eu.kanade.tachiyomi.ui.reader.viewer.webtoon
import android.content.Context
import android.view.View
import android.view.ViewGroup.LayoutParams
import eu.kanade.tachiyomi.ui.base.holder.BaseViewHolder
import androidx.recyclerview.widget.RecyclerView
import rx.Subscription
abstract class WebtoonBaseHolder(
view: View,
protected val viewer: WebtoonViewer
) : BaseViewHolder(view) {
) : RecyclerView.ViewHolder(view) {
/**
* Context getter because it's used often.