use of com.andrew.apollo.model.Playlist in project frostwire by frostwire.
the class AddToPlaylistMenuAction method getMenuActions.
private List<MenuAction> getMenuActions() {
List<MenuAction> actions = new ArrayList<>();
actions.add(new CreateNewPlaylistMenuAction(getContext(), fds));
List<Playlist> playlists = MusicUtils.getPlaylists(getContext());
for (int i = 0; i < playlists.size(); i++) {
final Playlist playlist = playlists.get(i);
actions.add(new AddToThisPlaylistMenuAction(getContext(), playlist.mPlaylistId, playlist.mPlaylistName, fds));
}
return actions;
}
Aggregations