@butterknife.OnClick(R.id.play)

Here are the examples of the java api @butterknife.OnClick(R.id.play) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

4 Examples 7

19 Source : VMovieVideoViewActivity.java
with MIT License
from xinpianchang

@OnClick(R.id.play)
void play() {
    mVMovieVideoView.play();
}

18 Source : BasicVideoViewActivity.java
with MIT License
from xinpianchang

@OnClick(R.id.play)
void play() {
    mPlayer.play();
}

18 Source : PlayPauseStopActivity.java
with MIT License
from alexjlockwood

@OnClick(R.id.play)
void setPlay() {
    playButton.setEnabled(false);
    pauseButton.setEnabled(true);
    stopButton.setEnabled(true);
    iconView.setImageState(STATE_SET_PLAY, true);
}

14 Source : PlaylistFragment.java
with Apache License 2.0
from vpaliy

@OnClick(R.id.play)
public void play() {
    List<Track> tracks = adapter.getTracks();
    if (tracks != null && !tracks.isEmpty()) {
        QueueManager queueManager = QueueManager.createQueue(tracks, 0);
        Bundle data = new Bundle();
        BundleUtils.packHeavyObject(data, Constants.EXTRA_QUEUE, queueManager, new TypeToken<QueueManager>() {
        }.getType());
        rxBus.sendWithLock(ExposeEvent.exposeTrack(data, null));
    }
}