Java Code Examples for android.app.Dialog#hide()

The following examples show how to use android.app.Dialog#hide() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: MerchantEmailActivity.java    From smartcoins-wallet with MIT License 5 votes vote down vote up
public void onFileSelected(Dialog source, final File file) {
            source.hide();

            showDialog();

            Thread thread = new Thread(new Runnable() {
                @Override
                public void run() {
                    MerchantEmail merchantEmail = new MerchantEmail(context);
                    merchantEmail.readFromFile(file.getAbsolutePath());
                }
            });
            thread.start();
//            onSuccess(file.getAbsolutePath(),file.getName());
        }
 
Example 2
Source File: ImportBackupActivity.java    From smartcoins-wallet with MIT License 4 votes vote down vote up
public void onFileSelected(Dialog source, File folder, String name) {
    source.hide();
}
 
Example 3
Source File: MerchantEmailActivity.java    From smartcoins-wallet with MIT License 4 votes vote down vote up
public void onFileSelected(Dialog source, File folder, String name) {
    source.hide();
}
 
Example 4
Source File: SettingActivity.java    From smartcoins-wallet with MIT License 4 votes vote down vote up
public void onFileSelected(Dialog source, File file) {
    source.hide();
    onSuccess(file.getAbsolutePath(), file.getName());
}
 
Example 5
Source File: SettingActivity.java    From smartcoins-wallet with MIT License 4 votes vote down vote up
public void onFileSelected(Dialog source, File folder, String name) {
    source.hide();
}