summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCharles Lombardo <clombardo169@gmail.com>2023-03-11 06:35:14 +0100
committerbunnei <bunneidev@gmail.com>2023-06-03 09:05:40 +0200
commite83de8eefbb556a909ecb1c509bb45240537b521 (patch)
tree9cca2f552173fb8d33c30b3021c9801dc28903d0
parentandroid: Convert PlatformGamesPresenter to Kotlin (diff)
downloadyuzu-e83de8eefbb556a909ecb1c509bb45240537b521.tar
yuzu-e83de8eefbb556a909ecb1c509bb45240537b521.tar.gz
yuzu-e83de8eefbb556a909ecb1c509bb45240537b521.tar.bz2
yuzu-e83de8eefbb556a909ecb1c509bb45240537b521.tar.lz
yuzu-e83de8eefbb556a909ecb1c509bb45240537b521.tar.xz
yuzu-e83de8eefbb556a909ecb1c509bb45240537b521.tar.zst
yuzu-e83de8eefbb556a909ecb1c509bb45240537b521.zip
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/platform/PlatformGamesView.kt (renamed from src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/platform/PlatformGamesView.java)12
1 files changed, 6 insertions, 6 deletions
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
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)
}