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.example.nezarsaleh.shareknitest.RegisterNewTest.java

public class RegisterNewTest extends AppCompatActivity implements View.OnClickListener {

    static final int DILOG_ID = 0;
    static RegisterNewTest registerNewTestActivity;
    final Calendar cal = Calendar.getInstance();
    int year_x, month_x, day_x;

From source file com.example.android.imaginarium.MainActivity.java

/**
 * A simple launcher activity containing a summary sample description, sample log and a custom
 * {@link android.support.v4.app.Fragment} which can display a view.
 * <p>
 * For devices with displays with a width of 720dp or greater, the sample log is always visible,
 * on other devices it's visibility is controlled by an item on the Action Bar.

From source file com.insthub.O2OMobile.Activity.B0_SigninActivity.java

public class B0_SigninActivity extends BaseActivity implements BusinessResponse, View.OnClickListener {
    private EditText mMobile;
    private EditText mPassword;
    private TextView mSignup;
    private Button mLogin;
    private UserModel mUserModel;

From source file com.insthub.O2OMobile.Activity.C15_EditPriceActivity.java

public class C15_EditPriceActivity extends BaseActivity implements BusinessResponse, View.OnClickListener {
    public final static String SERVICE = "my_service";
    private TextView nTitle;
    private ImageView mBack;
    private TextView mType;
    private EditText mPrice;

From source file ca.ualberta.cs.unter.view.DriverSearchRequestActivity.java

/**
 * Activity that driver can search for request and browse the map and accept it
 */
public class DriverSearchRequestActivity extends AppCompatActivity
        implements View.OnClickListener, Connectable, Disconnectable, Bindable {

From source file com.atlas.mars.weatherradar.MainActivity.java

public class MainActivity extends FragmentActivity implements Communicator, ViewPager.OnPageChangeListener,
        View.OnClickListener, PopupMenu.OnMenuItemClickListener, ToastShow, OnEvents {
    public final static String LOCATION = "LOCATION";
    final String TAG = "MainActivityLogs";
    private int posinion;

From source file com.example.caique.educam.Activities.TimelineActivity.java

/**
 * Demonstrates the use of {@link android.support.v7.widget.RecyclerView} with a {@link android.support.v7.widget.LinearLayoutManager} and a
 * {@link android.support.v7.widget.GridLayoutManager}.
 */
public class TimelineActivity extends Activity implements View.OnClickListener {
    private static final String KEY_LAYOUT_MANAGER = "layoutManager";

From source file ch.epfl.sweng.team7.hikingapp.LoginActivity.java

public class LoginActivity extends Activity
        implements View.OnClickListener, ActivityCompat.OnRequestPermissionsResultCallback,
        GoogleApiClient.ConnectionCallbacks, GoogleApiClient.OnConnectionFailedListener {

    private final static String LOG_FLAG = "Activity_Login";

From source file com.google.samples.quickstart.signin.MainActivity.java

/**
 * Minimal activity demonstrating basic Google Sign-In.
 */
public class MainActivity extends AppCompatActivity implements View.OnClickListener,
        GoogleApiClient.ConnectionCallbacks, GoogleApiClient.OnConnectionFailedListener {

From source file com.maxleapmobile.gitmaster.ui.fragment.RecommendFragment.java

public class RecommendFragment extends Fragment implements View.OnClickListener {

    private static final int PER_PAGE = 10;
    private int page = 1;

    private Context mContext;