|
@@ -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.
|
|
* Abstraction for a screen representing a single platform's games.
|
|
|
*/
|
|
*/
|
|
|
-public interface PlatformGamesView {
|
|
|
|
|
|
|
+interface PlatformGamesView {
|
|
|
/**
|
|
/**
|
|
|
* Tell the view to refresh its contents.
|
|
* Tell the view to refresh its contents.
|
|
|
*/
|
|
*/
|
|
|
- void refresh();
|
|
|
|
|
|
|
+ fun refresh()
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* To be called when an asynchronous database read completes. Passes the
|
|
* 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.
|
|
* @param games A Cursor containing the games read from the database.
|
|
|
*/
|
|
*/
|
|
|
- void showGames(Cursor games);
|
|
|
|
|
|
|
+ fun showGames(games: Cursor)
|
|
|
}
|
|
}
|