Added a scan option.
This commit is contained in:
parent
4fe4e2475c
commit
ada182a569
5 changed files with 135 additions and 18 deletions
|
|
@ -181,7 +181,7 @@ public class SongFileAdapter extends AbsMultiSelectAdapter<SongFileAdapter.ViewH
|
|||
public void onClick(View v) {
|
||||
int position = getAdapterPosition();
|
||||
if (isPositionInRange(position)) {
|
||||
callbacks.onFileMenuClicked(dataSet.get(position));
|
||||
callbacks.onFileMenuClicked(dataSet.get(position), v);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
@ -216,7 +216,7 @@ public class SongFileAdapter extends AbsMultiSelectAdapter<SongFileAdapter.ViewH
|
|||
public interface Callbacks {
|
||||
void onFileSelected(File file);
|
||||
|
||||
void onFileMenuClicked(File file);
|
||||
void onFileMenuClicked(File file, View view);
|
||||
|
||||
void onAddToPlaylist(ArrayList<File> files);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue