class DownloadListenerBunch implements DownloadListener {

    @Override
    public void taskEnd(@NonNull DownloadTask task, @NonNull EndCause cause,
                        @Nullable Exception realCause) {
        for (DownloadListener listener : listenerList) {
            listener.taskEnd(task, cause, realCause);
        }
    }

      DownloadListenerBunch(@NonNull DownloadListener[] listenerList);

}