mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-09 05:45:06 +01:00
Using common ViewHolder for WebtoonBaseHolder
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
This commit is contained in:
parent
cb175e2a93
commit
87ef22003c
@ -3,13 +3,13 @@ package eu.kanade.tachiyomi.ui.reader.viewer.webtoon
|
|||||||
import android.content.Context
|
import android.content.Context
|
||||||
import android.view.View
|
import android.view.View
|
||||||
import android.view.ViewGroup.LayoutParams
|
import android.view.ViewGroup.LayoutParams
|
||||||
import eu.kanade.tachiyomi.ui.base.holder.BaseViewHolder
|
import androidx.recyclerview.widget.RecyclerView
|
||||||
import rx.Subscription
|
import rx.Subscription
|
||||||
|
|
||||||
abstract class WebtoonBaseHolder(
|
abstract class WebtoonBaseHolder(
|
||||||
view: View,
|
view: View,
|
||||||
protected val viewer: WebtoonViewer
|
protected val viewer: WebtoonViewer
|
||||||
) : BaseViewHolder(view) {
|
) : RecyclerView.ViewHolder(view) {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Context getter because it's used often.
|
* Context getter because it's used often.
|
||||||
|
Loading…
Reference in New Issue
Block a user