From e83de8eefbb556a909ecb1c509bb45240537b521 Mon Sep 17 00:00:00 2001 From: Charles Lombardo Date: Sat, 11 Mar 2023 00:35:14 -0500 Subject: [PATCH] android: Convert PlatformGamesView to Kotlin --- .../{PlatformGamesView.java => PlatformGamesView.kt} | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) rename src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/platform/{PlatformGamesView.java => PlatformGamesView.kt} (58%) diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/platform/PlatformGamesView.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/platform/PlatformGamesView.kt similarity index 58% rename from src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/platform/PlatformGamesView.java rename to src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/platform/PlatformGamesView.kt index a4e3f1eea..b2c1397ce 100644 --- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/platform/PlatformGamesView.java +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/platform/PlatformGamesView.kt @@ -1,21 +1,21 @@ -package org.yuzu.yuzu_emu.ui.platform; +package org.yuzu.yuzu_emu.ui.platform -import android.database.Cursor; +import android.database.Cursor /** * Abstraction for a screen representing a single platform's games. */ -public interface PlatformGamesView { +interface PlatformGamesView { /** * Tell the view to refresh its contents. */ - void refresh(); + fun refresh() /** * To be called when an asynchronous database read completes. Passes the - * result, in this case a {@link Cursor}, to the view. + * result, in this case a [Cursor], to the view. * * @param games A Cursor containing the games read from the database. */ - void showGames(Cursor games); + fun showGames(games: Cursor) }