Fix su dialog caricamento in accettazione ordini
This commit is contained in:
parent
b31ea475c6
commit
7ec04ac8da
@ -654,8 +654,16 @@ public class AccettazioneOrdiniPickingActivity extends BaseActivity implements A
|
|||||||
this.fabPopupMenu.dismiss();
|
this.fabPopupMenu.dismiss();
|
||||||
this.onLoadingStarted();
|
this.onLoadingStarted();
|
||||||
|
|
||||||
this.mViewModel.createNewLU(null, null, null, false, () -> {
|
executorService.execute(() -> {
|
||||||
this.onLoadingEnded();
|
try {
|
||||||
|
//Aggiunto perchè a volte rimaneva il dialog di caricamento avanti a tutto
|
||||||
|
Thread.sleep(1000);
|
||||||
|
} catch (InterruptedException e) {
|
||||||
|
throw new RuntimeException(e);
|
||||||
|
}
|
||||||
|
this.mViewModel.createNewLU(null, null, null, false, () -> {
|
||||||
|
this.onLoadingEnded();
|
||||||
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user