From a049a0d4bc43035d36919e0716958ac602a70953 Mon Sep 17 00:00:00 2001 From: Charles Lombardo Date: Tue, 21 Feb 2023 09:43:17 -0500 Subject: [PATCH] Android: Remove unused refreshScreenshotAtPosition interface method --- .../dolphinemu/ui/platform/PlatformGamesFragment.java | 6 ------ .../dolphinemu/ui/platform/PlatformGamesView.java | 8 -------- 2 files changed, 14 deletions(-) diff --git a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/ui/platform/PlatformGamesFragment.java b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/ui/platform/PlatformGamesFragment.java index 10dbf10c00..9393a48baf 100644 --- a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/ui/platform/PlatformGamesFragment.java +++ b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/ui/platform/PlatformGamesFragment.java @@ -92,12 +92,6 @@ public final class PlatformGamesFragment extends Fragment implements PlatformGam mBinding = null; } - @Override - public void refreshScreenshotAtPosition(int position) - { - mAdapter.notifyItemChanged(position); - } - @Override public void onItemClick(String gameId) { 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 index a728408d70..642c531946 100644 --- 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 @@ -7,14 +7,6 @@ package org.dolphinemu.dolphinemu.ui.platform; */ public interface PlatformGamesView { - /** - * Tell the view that a certain game's screenshot has been updated, - * and should be redrawn on-screen. - * - * @param position The index of the game that should be redrawn. - */ - void refreshScreenshotAtPosition(int position); - /** * Pass a click event to the view's Presenter. Typically called from the * view's list adapter.