Refactoring - Removed most of the click listeners from the adapters and moved them into the appropriate fragments
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
package com.cappielloantonio.play.interfaces;
|
||||
|
||||
|
||||
import android.os.Bundle;
|
||||
|
||||
public interface ClickCallback {
|
||||
default void onMediaClick(Bundle bundle) {}
|
||||
|
||||
default void onMediaLongClick(Bundle bundle) {}
|
||||
|
||||
default void onAlbumClick(Bundle bundle) {}
|
||||
|
||||
default void onAlbumLongClick(Bundle bundle) {}
|
||||
|
||||
default void onArtistClick(Bundle bundle) {}
|
||||
|
||||
default void onArtistLongClick(Bundle bundle) {}
|
||||
|
||||
default void onGenreClick(Bundle bundle) {}
|
||||
|
||||
default void onPlaylistClick(Bundle bundle) {}
|
||||
|
||||
default void onPlaylistLongClick(Bundle bundle) {}
|
||||
|
||||
default void onYearClick(Bundle bundle) {}
|
||||
|
||||
default void onServerClick(Bundle bundle) {}
|
||||
|
||||
default void onServerLongClick(Bundle bundle) {}
|
||||
|
||||
default void onPodcastClick(Bundle bundle) {}
|
||||
|
||||
default void onPodcastLongClick(Bundle bundle) {}
|
||||
}
|
||||
Reference in New Issue
Block a user