diff options
| author | 2023-03-11 00:35:14 -0500 | |
|---|---|---|
| committer | 2023-06-03 00:05:40 -0700 | |
| commit | e83de8eefbb556a909ecb1c509bb45240537b521 (patch) | |
| tree | 9cca2f552173fb8d33c30b3021c9801dc28903d0 /src/android | |
| parent | android: Convert PlatformGamesPresenter to Kotlin (diff) | |
| download | yuzu-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 @@ | |||
| 1 | package org.yuzu.yuzu_emu.ui.platform; | 1 | package org.yuzu.yuzu_emu.ui.platform |
| 2 | 2 | ||
| 3 | import android.database.Cursor; | 3 | import 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 | */ |
| 8 | public interface PlatformGamesView { | 8 | interface 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 | } |