mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 18:11:53 +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.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.
|
||||
|
Loading…
Reference in New Issue
Block a user