Example usage for android.view View.OnClickListener interface-usage

List of usage examples for android.view View.OnClickListener interface-usage

Introduction

In this page you can find the example usage for android.view View.OnClickListener interface-usage.

Usage

From source file com.android.ted.sample.viewpager.MainPagerAdapter.java

/**
 * Created by Ted on 2015/6/19.
 */
public class MainPagerAdapter extends PagerAdapter implements View.OnClickListener {
    private ArrayList<Girl> mAllGirlList;
    private Map<Integer, View> mAllImageMap;

From source file com.commonsware.android.downloader.DownloadFragment.java

public class DownloadFragment extends Fragment implements View.OnClickListener {
    private Button b = null;

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) {
        View result = inflater.inflate(R.layout.main, parent, false);

From source file com.commonsware.android.leak.configchange.AsyncDemoFragment.java

public class AsyncDemoFragment extends ListFragment implements View.OnClickListener {
    private static final String[] items = { "lorem", "ipsum", "dolor", "sit", "amet", "consectetuer", "adipiscing",
            "elit", "morbi", "vel", "ligula", "vitae", "arcu", "aliquet", "mollis", "etiam", "vel", "erat",
            "placerat", "ante", "porttitor", "sodales", "pellentesque", "augue", "purus" };
    private ArrayList<String> model = new ArrayList<String>();
    private ArrayAdapter<String> adapter = null;

From source file es.hol.ecotiffins.view.LoginActivity.java

public class LoginActivity extends AppCompatActivity implements View.OnClickListener, WebServiceListener {

    private ViewFlipper viewFlipper;
    private AppCompatEditText editEmail;
    private AppCompatEditText editPassword;
    private TextView textRegister;

From source file com.yanzhenjie.nohttp.sample.activity.json.JsonActivity.java

/**
 * Created in Jan 31, 2016 10:16:26 PM.
 *
 * @author Yan Zhenjie.
 */
public class JsonActivity extends BaseActivity implements View.OnClickListener {

From source file securify.ububble.securify.fragments.Payment.java

public class Payment extends Fragment implements View.OnClickListener {
    private int botones[] = { R.id.btn_pagar_anual, R.id.btn_pagar_mensual, R.id.btn_pagar_regalo,
            R.id.btn_pagar_viajero };
    private static String CUSTOMERID = "5498712826aed5b1fa9e9eff";
    private static String LICENSEKEY = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAk0nG5F2IZzn6rhIlXrpB6gFynKWn2Ve3cRimLd9P5KzUJUh5TPuVwwKkyt+ggAmHYg9/ISesAT57DZ52fWb8zGZAZa89bJEWIdWjl67FeQe7C9evLUQ87FgTlfHaFCVuLnGVZTUO7C9uB4r19XQtA60e4y/Hax3cwbW8n3sdUTymm5Ur1NSaeCu40BFTnEgTyYzniu784FlDFMTRJk10WoPFRLjr8lKO/JBVKaMdk7dW8paF3gb32moXYSoXvT7EreqhCYb17KNHDDtHDSEaplyoV9kYryERi8s0EoWYA1QMQhVUwnkOoPtIMpFLVBOjzc98zOsSLQ8Qvd7KeMYCMwIDAQAB";
    public ContentPrincipal contentPrincipal;

From source file com.android.julia.todolist.ui.EditTaskDialogFragment.java

public class EditTaskDialogFragment extends DialogFragment implements View.OnClickListener {

    RadioButton mHighRadioButton;
    RadioButton mMediumRadioButton;
    RadioButton mLowRadioButton;
    EditText mTaskDescriptionEditText;

From source file com.android.settings.widget.SlidingTabLayout.java

/**
 * To be used with ViewPager to provide a tab indicator component which give constant feedback as
 * to the user's scroll progress.
 */
public final class SlidingTabLayout extends FrameLayout implements View.OnClickListener {

From source file com.royclarkson.springagram.GalleryAddFragment.java

/**
 * {@link Fragment} that displays a form to add a new {@link Gallery}
 *
 * @author Roy Clarkson
 */
public class GalleryAddFragment extends Fragment implements View.OnClickListener {

From source file com.citrus.sample.UIActivityFragment.java

/**
 * A placeholder fragment containing a simple view.
 */
public class UIActivityFragment extends Fragment implements View.OnClickListener {

    private TextView textMessage = null;