use of org.odk.collect.android.formentry.FormLoadingDialogFragment in project collect by opendatakit.
the class FormEntryActivity method onProgressStep.
public void onProgressStep(String stepMessage) {
showIfNotShowing(FormLoadingDialogFragment.class, getSupportFragmentManager());
FormLoadingDialogFragment dialog = getDialog(FormLoadingDialogFragment.class, getSupportFragmentManager());
if (dialog != null) {
dialog.setMessage(getString(R.string.please_wait) + "\n\n" + stepMessage);
}
}
Aggregations