summaryrefslogtreecommitdiff
path: root/src/android
diff options
context:
space:
mode:
authorGravatar Charles Lombardo2023-03-11 00:35:14 -0500
committerGravatar bunnei2023-06-03 00:05:40 -0700
commite83de8eefbb556a909ecb1c509bb45240537b521 (patch)
tree9cca2f552173fb8d33c30b3021c9801dc28903d0 /src/android
parentandroid: Convert PlatformGamesPresenter to Kotlin (diff)
downloadyuzu-e83de8eefbb556a909ecb1c509bb45240537b521.tar.gz
yuzu-e83de8eefbb556a909ecb1c509bb45240537b521.tar.xz
yuzu-e83de8eefbb556a909ecb1c509bb45240537b521.zip
android: Convert PlatformGamesView to Kotlin
Diffstat (limited to 'src/android')
-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 @@
1package org.yuzu.yuzu_emu.ui.platform; 1package org.yuzu.yuzu_emu.ui.platform
2 2
3import android.database.Cursor; 3import android.database.Cursor
4 4
5/** 5/**
6 * Abstraction for a screen representing a single platform's games. 6 * Abstraction for a screen representing a single platform's games.
7 */ 7 */
8public interface PlatformGamesView { 8interface PlatformGamesView {
9 /** 9 /**
10 * Tell the view to refresh its contents. 10 * Tell the view to refresh its contents.
11 */ 11 */
12 void refresh(); 12 fun refresh()
13 13
14 /** 14 /**
15 * To be called when an asynchronous database read completes. Passes the 15 * To be called when an asynchronous database read completes. Passes the
16 * result, in this case a {@link Cursor}, to the view. 16 * result, in this case a [Cursor], to the view.
17 * 17 *
18 * @param games A Cursor containing the games read from the database. 18 * @param games A Cursor containing the games read from the database.
19 */ 19 */
20 void showGames(Cursor games); 20 fun showGames(games: Cursor)
21} 21}