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 cw.kop.autobackground.sources.SourceListFragment.java

public class SourceListFragment extends Fragment implements AdapterView.OnItemClickListener, View.OnClickListener {

    public static final String ADD_ENTRY = "cw.kop.autobackground.SourceListFragment.ADD_ENTRY";
    public static final String SET_ENTRY = "cw.kop.autobackground.SourceListFragment.SET_ENTRY";

    private static final String TAG = SourceListFragment.class.getCanonicalName();

From source file com.letsgood.sampleapp.SignInActivity.java

/**
 * Created by Marek on 1/13/15.
 */
public class SignInActivity extends ActionBarActivity implements View.OnClickListener,
        GoogleApiClient.ConnectionCallbacks, GoogleApiClient.OnConnectionFailedListener {

From source file cliq.com.cliqgram.fragments.CameraFragment.java

@TargetApi(Build.VERSION_CODES.LOLLIPOP)
public class CameraFragment extends Fragment
        implements View.OnClickListener, FragmentCompat.OnRequestPermissionsResultCallback {

    /**
     * Conversion from screen rotation to JPEG orientation.

From source file tech.salroid.filmy.activities.MovieDetailsActivity.java

public class MovieDetailsActivity extends AppCompatActivity
        implements View.OnClickListener, LoaderManager.LoaderCallbacks<Cursor>,
        GetDataFromNetwork.DataFetchedListener, CastFragment.GotCrewListener {

    @BindView(R.id.toolbar)
    Toolbar toolbar;

From source file rta.ae.sharekni.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.android.launcher3.Folder.java

/**
 * Represents a set of icons chosen by the user or generated by the system.
 */
public class Folder extends LinearLayout implements DragSource, View.OnClickListener, View.OnLongClickListener,
        DropTarget, FolderListener, TextView.OnEditorActionListener, View.OnFocusChangeListener {
    private static final String TAG = "Launcher.Folder";

From source file com.bofsoft.laio.laiovehiclegps.Fragment.BaiduMapFragment.java

/**
 * 
 * Created by Bofsoft on 2017/5/16.
 */

public class BaiduMapFragment extends Fragment implements View.OnClickListener, IResponseListener {

From source file mobile.tiis.appv2.LoginActivity.java

/**
 * This activity is responsible for the initial login form and handles the authentication
 * by username / password verification. On first login also handles database filling, else
 * authentication is done by local database.
 *
 * @author Teodor Rupi

From source file com.example.igorklimov.popularmoviesdemo.fragments.DetailFragment.java

public class DetailFragment extends Fragment
        implements LoaderManager.LoaderCallbacks<Cursor>, View.OnClickListener {

    private static final String TAG = "DetailFragment";
    private static final SimpleDateFormat initialFormat = new SimpleDateFormat("yyyy-MM-dd", Locale.US);
    private static final SimpleDateFormat monthYearFormat = new SimpleDateFormat("MMMM, yyyy", Locale.US);

From source file com.sdspikes.fireworks.FireworksActivity.java

/**
 * Button Clicker 2000. A minimalistic game showing the multiplayer features of
 * the Google Play game services API. The objective of this game is clicking a
 * button. Whoever clicks the button the most times within a 20 second interval
 * wins. It's that simple. This game can be played with 2, 3 or 4 players. The
 * code is organized in sections in order to make understanding as clear as