Android: Convert CheatItemViewHolder to Kotlin

This commit is contained in:
Charles Lombardo 2023-03-01 13:38:27 -05:00
parent cacbac9152
commit d8c1381155
2 changed files with 10 additions and 18 deletions

View File

@ -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);
}

View File

@ -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)
}