Example usage for android.content DialogInterface.OnClickListener interface-usage

List of usage examples for android.content DialogInterface.OnClickListener interface-usage

Introduction

In this page you can find the example usage for android.content DialogInterface.OnClickListener interface-usage.

Usage

From source file paulscode.android.mupen64plusae.preference.PathPreference.java

/**
 * A {@link DialogPreference} that is specifically for choosing a directory path or file on a device.
 */
public class PathPreference extends DialogPreference
        implements OnPreferenceDialogListener, DialogInterface.OnClickListener {
    /** The user must select a directory. No files will be shown in the list. */

From source file com.hippo.preference.DialogPreference.java

/**
 * A base class for {@link Preference} objects that are
 * dialog-based. These preferences will, when clicked, open a dialog showing the
 * actual preference controls.
 */
public abstract class DialogPreference extends Preference implements DialogInterface.OnClickListener,

From source file org.peterbaldwin.client.android.tinyurl.SendTinyUrlActivity.java

public class SendTinyUrlActivity extends Activity
        implements View.OnClickListener, DialogInterface.OnClickListener, Runnable, Handler.Callback {

    static final int HANDLE_URL = 1;

    static final int HANDLE_ERROR = 2;

From source file com.ahao.preferencelibrary.preference.DialogPreference.java

public abstract class DialogPreference extends Preference implements DialogInterface.OnClickListener,
        DialogInterface.OnDismissListener, PreferenceManager.OnActivityDestroyListener {
    private AlertDialog.Builder mBuilder;

    private CharSequence mDialogTitle;
    private CharSequence mDialogMessage;

From source file com.lb.material_preferences_library.custom_preferences.DialogPreference.java

/**
 * A base class for {@link Preference} objects that are
 * dialog-based. These preferences will, when clicked, open a dialog showing the
 * actual preference controls.
 *
 * @attr ref android.R.styleable#DialogPreference_dialogTitle

From source file com.piusvelte.wapdroid.MainActivity.java

public class MainActivity extends ActionBarActivity
        implements ServiceConnection, DialogInterface.OnClickListener, ActionBar.TabListener {

    private static final int CONNECTION_FAILURE_RESOLUTION_REQUEST = 9000;

    private String mBssid = "";

From source file arun.com.chromer.payments.DonateActivity.java

public class DonateActivity extends AppCompatActivity
        implements IabBroadcastReceiver.IabBroadcastListener, DialogInterface.OnClickListener {
    private static final String COFEE_SKU = "coffee_small";
    private static final String LUNCH_SKU = "lunch_mega";
    private static final String PREMIUM_SKU = "premium_donation";
    // (arbitrary) request code for the purchase flow

From source file com.nineducks.hereader.ui.NewsItemsFragment.java

public class NewsItemsFragment extends ListFragment implements ItemsLoadedListener, HackfulItemsController,
        AdapterView.OnItemClickListener, AdapterView.OnItemLongClickListener, DialogInterface.OnClickListener {

    public static final String SAVED_ITEMS_KEY = "saved_items";

    public static final String SAVED_ITEMS_SOURCE_KEY = "saved_items_source";

From source file com.mifos.mifosxdroid.online.loanrepayment.LoanRepaymentFragment.java

public class LoanRepaymentFragment extends MifosBaseFragment
        implements MFDatePicker.OnDatePickListener, LoanRepaymentMvpView, DialogInterface.OnClickListener {

    public final String LOG_TAG = getClass().getSimpleName();

    @BindView(R.id.rl_loan_repayment)

From source file com.maxwen.wallpaper.board.fragments.dialogs.DirectoryChooserDialog.java

public class DirectoryChooserDialog extends DialogFragment implements DialogInterface.OnClickListener {

    private String mSDCardDirectory;
    private String mCurrentDir;
    private List<File> mSubDirs;
    private ArrayAdapter<File> mListAdapter;