Code example for AutoCompleteTextView

Methods: setVisibility

0
	} 
	 
	private void startTraining(){ 
		isTraining = true;
		lblTrainingStatus.setText("Training: ON");
		trainLocation.setVisibility(View.VISIBLE);
	} 
	 
	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(){