Search in sources :

Example 91 with OnClick

use of butterknife.OnClick in project GwellDemo by dxsdyhm.

the class MainActivity method onClick.

@OnClick(R.id.btn_play_back)
public void onClick() {
    Intent record = new Intent(this, RecordFilesActivity.class);
    record.putExtra(LoginActivity.USERID, userId);
    startActivity(record);
}
Also used : Intent(android.content.Intent) OnClick(butterknife.OnClick)

Example 92 with OnClick

use of butterknife.OnClick in project GwellDemo by dxsdyhm.

the class MainActivity method GetAllarmImage.

@OnClick(R.id.btn_getalarm_picture)
public void GetAllarmImage() {
    Intent record = new Intent(this, AllarmImageActivity.class);
    record.putExtra(LoginActivity.USERID, userId);
    startActivity(record);
}
Also used : Intent(android.content.Intent) OnClick(butterknife.OnClick)

Example 93 with OnClick

use of butterknife.OnClick in project GwellDemo by dxsdyhm.

the class MainActivity method onClicksensor.

@OnClick(R.id.sensor)
public void onClicksensor() {
    Intent sensor = new Intent(this, SensorActivity.class);
    sensor.putExtra(LoginActivity.USERID, userId);
    startActivity(sensor);
}
Also used : Intent(android.content.Intent) OnClick(butterknife.OnClick)

Example 94 with OnClick

use of butterknife.OnClick in project GwellDemo by dxsdyhm.

the class LoginActivity method onClick.

@OnClick(R.id.email_register_button)
public void onClick() {
    Intent intentReg = new Intent(this, RegisterActivity.class);
    startActivityForResult(intentReg, 1);
}
Also used : Intent(android.content.Intent) OnClick(butterknife.OnClick)

Example 95 with OnClick

use of butterknife.OnClick in project divide by HiddenStage.

the class MyActivity method login.

@OnClick(R.id.loginButton)
public void login() {
    Intent intent = new Intent(MyActivity.this, AuthActivity.class);
    MyActivity.this.startActivity(intent);
}
Also used : Intent(android.content.Intent) OnClick(butterknife.OnClick)

Aggregations

OnClick (butterknife.OnClick)202 Intent (android.content.Intent)88 AlertDialog (android.support.v7.app.AlertDialog)11 View (android.view.View)11 DialogInterface (android.content.DialogInterface)10 Action0 (rx.functions.Action0)10 Bundle (android.os.Bundle)8 GCM (com.kickstarter.models.pushdata.GCM)8 PushNotificationEnvelope (com.kickstarter.services.apiresponses.PushNotificationEnvelope)8 File (java.io.File)8 TextView (android.widget.TextView)7 ActivityOptions (android.app.ActivityOptions)6 LzyResponse (com.lzy.demo.model.LzyResponse)6 ServerModel (com.lzy.demo.model.ServerModel)6 Subscription (rx.Subscription)6 NonNull (android.support.annotation.NonNull)5 ActivityOptionsCompat (android.support.v4.app.ActivityOptionsCompat)5 CustomBubblePopup (com.flyco.dialogsamples.extra.CustomBubblePopup)5 Activity (com.kickstarter.models.pushdata.Activity)5 ArrayList (java.util.ArrayList)5