Android: Convert CheatItemViewHolder to Kotlin
This commit is contained in:
parent
cacbac9152
commit
d8c1381155
|
@ -1,18 +0,0 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
package org.dolphinemu.dolphinemu.features.cheats.ui;
|
||||
|
||||
import android.view.View;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.recyclerview.widget.RecyclerView;
|
||||
|
||||
public abstract class CheatItemViewHolder extends RecyclerView.ViewHolder
|
||||
{
|
||||
public CheatItemViewHolder(@NonNull View itemView)
|
||||
{
|
||||
super(itemView);
|
||||
}
|
||||
|
||||
public abstract void bind(CheatsActivity activity, CheatItem item, int position);
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
package org.dolphinemu.dolphinemu.features.cheats.ui
|
||||
|
||||
import android.view.View
|
||||
import androidx.recyclerview.widget.RecyclerView
|
||||
|
||||
abstract class CheatItemViewHolder(itemView: View) : RecyclerView.ViewHolder(itemView) {
|
||||
abstract fun bind(activity: CheatsActivity, item: CheatItem, position: Int)
|
||||
}
|
Loading…
Reference in New Issue