diff --git a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/ui/platform/PlatformGamesView.java b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/ui/platform/PlatformGamesView.java deleted file mode 100644 index 642c531946..0000000000 --- a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/ui/platform/PlatformGamesView.java +++ /dev/null @@ -1,32 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later - -package org.dolphinemu.dolphinemu.ui.platform; - -/** - * Abstraction for a screen representing a single platform's games. - */ -public interface PlatformGamesView -{ - /** - * Pass a click event to the view's Presenter. Typically called from the - * view's list adapter. - * - * @param gameId The ID of the game that was clicked. - */ - void onItemClick(String gameId); - - /** - * Shows or hides the loading indicator. - */ - void setRefreshing(boolean refreshing); - - /** - * To be called when the game file cache is updated. - */ - void showGames(); - - /** - * Re-fetches game metadata from the game file cache. - */ - void refetchMetadata(); -} diff --git a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/ui/platform/PlatformGamesView.kt b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/ui/platform/PlatformGamesView.kt new file mode 100644 index 0000000000..b9d188c2e9 --- /dev/null +++ b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/ui/platform/PlatformGamesView.kt @@ -0,0 +1,31 @@ +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.dolphinemu.dolphinemu.ui.platform + +/** + * Abstraction for a screen representing a single platform's games. + */ +interface PlatformGamesView { + /** + * Pass a click event to the view's Presenter. Typically called from the + * view's list adapter. + * + * @param gameId The ID of the game that was clicked. + */ + fun onItemClick(gameId: String) { /* Empty default impl */ } + + /** + * Shows or hides the loading indicator. + */ + fun setRefreshing(refreshing: Boolean) + + /** + * To be called when the game file cache is updated. + */ + fun showGames() + + /** + * Re-fetches game metadata from the game file cache. + */ + fun refetchMetadata() +}