corretto bug sul progressDialog
This commit is contained in:
parent
bfc02a7d48
commit
57fa738c59
@ -211,6 +211,7 @@ public class DocInterniEditFormActivity extends BaseActivity implements DocInter
|
||||
|
||||
@Override
|
||||
public void onEditRowRequest(SqlMtbColr row, boolean flagTracciabilita) {
|
||||
this.onLoadingStarted();
|
||||
MtbAart mtbAart = new MtbAart();
|
||||
mtbAart.setBarCode(row.getCodBarre());
|
||||
mtbAart.setDiacod(row.getCodBarre());
|
||||
@ -244,7 +245,6 @@ public class DocInterniEditFormActivity extends BaseActivity implements DocInter
|
||||
}
|
||||
return partitaMag;
|
||||
});
|
||||
|
||||
DialogInputQuantityV2View
|
||||
.newInstance(dialogInputQuantityV2DTO, (resultDTO, shouldCloseLU) -> {
|
||||
this.onLoadingStarted();
|
||||
|
||||
@ -125,9 +125,7 @@ public class DocInterniEditFormViewModel {
|
||||
}
|
||||
|
||||
public void onSearch(String search) {
|
||||
this.sendOnLoadingStarted();
|
||||
GrigliaAcquistiChildDTO articolo = this.searchArticolo(search);
|
||||
this.sendOnLoadingEnded();
|
||||
if (articolo == null) {
|
||||
this.sendError(new Exception("Nessun articolo corrispondente al codice fornito!"));
|
||||
return;
|
||||
|
||||
@ -159,6 +159,7 @@ public class DialogInputQuantityV2View extends BaseDialogFragment implements Dia
|
||||
return false;
|
||||
});
|
||||
}
|
||||
this.onLoadingEnded();
|
||||
return mBindings.getRoot();
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user