Code example for AutoCompleteTextView

Methods: setVisibility

0
	} 
	 
	private void stopTraining(){ 
		isTraining = false;
		lblTrainingStatus.setText("Training: OFF");
		trainLocation.setVisibility(View.INVISIBLE);
	} 
	 
	private void train(){ 
		//get location that we are training 
		String locationName = trainLocation.getText().toString();
		sqlHelper.insertTrainingSet(locationName, wifiList);
	} 
	 
	private void locateMe(){ 
		//TODO 
	} 
	 
	class WifiReceiver extends BroadcastReceiver {
        public void onReceive(Context c, Intent intent) {
        	wifiList = new ArrayList<ScanResult>(wifi.getScanResults());