public static <P> ProgressDialogFeature<P> of(final ComponentActivity activity) {
        return new ProgressDialogFeature<>(activity);
    }
Feature to surround execution of a worker task visually with a progress dialog
main/src/main/java/cgeo/geocaching/utils/workertask/ProgressDialogFeature.java