From e285d60fa7e5115c1893279a1a264f205aadcb59 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Wed, 27 May 2015 08:42:46 -0700 Subject: Move OnItemClickListener into abstraction --- .../java/github/daneren2005/dsub/fragments/SelectPlaylistFragment.java | 2 +- .../java/github/daneren2005/dsub/fragments/SelectRecyclerFragment.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'app/src/main') diff --git a/app/src/main/java/github/daneren2005/dsub/fragments/SelectPlaylistFragment.java b/app/src/main/java/github/daneren2005/dsub/fragments/SelectPlaylistFragment.java index 03decc17..2f2cfcc1 100644 --- a/app/src/main/java/github/daneren2005/dsub/fragments/SelectPlaylistFragment.java +++ b/app/src/main/java/github/daneren2005/dsub/fragments/SelectPlaylistFragment.java @@ -36,7 +36,7 @@ import java.util.ArrayList; import java.util.Arrays; import java.util.List; -public class SelectPlaylistFragment extends SelectRecyclerFragment implements SectionAdapter.OnItemClickedListener { +public class SelectPlaylistFragment extends SelectRecyclerFragment { private static final String TAG = SelectPlaylistFragment.class.getSimpleName(); @Override diff --git a/app/src/main/java/github/daneren2005/dsub/fragments/SelectRecyclerFragment.java b/app/src/main/java/github/daneren2005/dsub/fragments/SelectRecyclerFragment.java index cb2ae6d7..afcbf273 100644 --- a/app/src/main/java/github/daneren2005/dsub/fragments/SelectRecyclerFragment.java +++ b/app/src/main/java/github/daneren2005/dsub/fragments/SelectRecyclerFragment.java @@ -41,7 +41,7 @@ import github.daneren2005.dsub.util.ProgressListener; import github.daneren2005.dsub.util.TabBackgroundTask; import github.daneren2005.dsub.view.GridSpacingDecoration; -public abstract class SelectRecyclerFragment extends SubsonicFragment { +public abstract class SelectRecyclerFragment extends SubsonicFragment implements SectionAdapter.OnItemClickedListener { private static final String TAG = SelectRecyclerFragment.class.getSimpleName(); protected RecyclerView recyclerView; protected SectionAdapter adapter; -- cgit v1.2.3