Search in sources :

Example 1 with FormLoadingDialogFragment

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);
    }
}
Also used : FormLoadingDialogFragment(org.odk.collect.android.formentry.FormLoadingDialogFragment)

Aggregations

FormLoadingDialogFragment (org.odk.collect.android.formentry.FormLoadingDialogFragment)1