Shielded repeatedly click event

/ **
* Test quick click event
* /
fastButton.setOnClickListener (new new OnClickFastListener (http://www.amjmh.com) {
/ **
* self-realization of the abstract method definition, not rewrite onClick method for execution the logic behind the click
* /
@Override
public void onFastClick (View V) {
Toast.makeText (mContext, "network test ...", Toast.LENGTH_LONG) the .Show ();
}
});

Guess you like

Origin www.cnblogs.com/liyanyan665/p/11402912.html