This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ProgressDialogActivity extends FragmentActivity { | |
final static String LOADING_DIALOG_TAG = "progress_dialog"; | |
/** | |
* Shows the loading progress dialog | |
*/ | |
public void showLoadingDialog() { | |
FragmentTransaction ft = getSupportFragmentManager().beginTransaction(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ProgressDialogFragment extends DialogFragment { | |
public static LoadingDialogFragment newInstance() { | |
ProgressDialogFragment frag = new ProgressDialogFragment (); | |
return frag; | |
} | |
@Override | |
public Dialog onCreateDialog(Bundle savedInstanceState) { |