How to achieve on first click listener in android? -
i have customview , want set onclick called on first click. in want start thread start counter on other textview , simple onclicklistener each click new threads starts problem . how can achieve such task ?
another option in onclick()
method set null listener, i.e.
@override public void onclick(view view) { // disable other clicks on customview.setonclicklistener(null); ... }
Comments
Post a Comment