Code example for ToggleButton

Methods: setOnClickListener

0
	private void initEvent() { 
		btnSMSSend.setOnClickListener(new EvtOnClickSMSDelivery());
		autoedtPhoneNumber.setOnItemClickListener(new EvtOnItemClickAutoedtPhoneNumber());
		autoedtPhoneNumber.addTextChangedListener(new DelContactTextWatcher());
		edtMessage.addTextChangedListener(new DelMessageTextWatcher());
		ttnReverseCodeShow.setOnClickListener(new EvtOnClickReverseCodeShow());
		btnReverseCodeAppend.setOnClickListener(new EvtOnClickReverseCodeAppend());
	} 
 
	protected void driveBindSource() {	 
	     
		if(sourceBindingListener != null) {
			if(positionPack == null) {
				positionPack = new GeoSMSPack();
				sourceBindingListener.onSourceBind(positionPack);
			} 
			 
			if(positionPack != null) {
				positionHeaderInfo = positionPack.getHeaderString();
				positionLocation = positionPack.getGeoLocation();
				String text = positionPack.getText();