Fix crash
This commit is contained in:
parent
7f679035f4
commit
3c73aaa5dc
1 changed files with 5 additions and 3 deletions
|
@ -84,11 +84,13 @@ public class TravelDownloadUpdateCard extends BaseTravelCard {
|
|||
}
|
||||
|
||||
public void updateProgresBar() {
|
||||
if(ref != null) {
|
||||
DownloadUpdateVH holder = ref.get();
|
||||
if (holder != null && holder.itemView.isShown()) {
|
||||
updateProgressBar(holder);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void updateProgressBar(DownloadUpdateVH holder) {
|
||||
if (isLoadingInProgress()) {
|
||||
|
|
Loading…
Reference in a new issue