1234567891011121314151617181920212223242526272829 |
- package com.uddream.plugin;
- import android.view.View;
- import android.widget.CompoundButton;
- import android.widget.Toast;
- /**
- * Created by Glen on 2017/2/8.
- */
- public class Agent {
- public static void onClickPre(View view) {
- Toast.makeText(view.getContext(), "agent click pre listener", Toast.LENGTH_LONG).show();
- }
- public static void onClick(View view) {
- Toast.makeText(view.getContext(), "agent click listener", Toast.LENGTH_LONG).show();
- }
- public static void onCheckedChangedPre(CompoundButton view, boolean isChecked) {
- Toast.makeText(view.getContext(), "agent check pre listener " + isChecked, Toast.LENGTH_LONG).show();
- }
- public static void onCheckedChanged(CompoundButton view, boolean isChecked) {
- Toast.makeText(view.getContext(), "agent check listener " + isChecked, Toast.LENGTH_LONG).show();
- }
- }
|