viewDownloadEnd.setVisibility(View.VISIBLE);
}
textFileSize.setText(FileUtil.getFormattedFileSize(downloadModel.getDownloadFileSize(type, course, module, item)));
progressBarUpdaterRunning = false;
}
<BUG>@SuppressWarnings("unused")
public void onEventMainThread(DownloadCompletedEvent event) {
</BUG>
if (event.getDownload().localUri.contains(item.id)
&& DownloadModel.DownloadFileType.getDownloadFileTypeFromUri(event.getDownload().localUri) == type) {

viewDownloadEnd.setVisibility(View.VISIBLE);
}
textFileSize.setText(FileUtil.getFormattedFileSize(downloadModel.getDownloadFileSize(type, course, module, item)));
progressBarUpdaterRunning = false;
}
@SuppressWarnings("unused")
@Subscribe(threadMode = ThreadMode.MAIN)
public void onDownloadCompletedEvent(DownloadCompletedEvent event) {
if (event.getDownload().localUri.contains(item.id)
&& DownloadModel.DownloadFileType.getDownloadFileTypeFromUri(event.getDownload().localUri) == type) {
