Code example for AsyncTask

Methods: getStatus

0
	public Editable getFilter(){
		return searchText.getText();
	} 
	 
	public boolean initializeTaskIsFinished(){ 
		return initializeTask == null || initializeTask.getStatus() == Status.FINISHED;
	} 
	 
	 
	private int MAX_VISIBLE_NAME = 18;
	 
	public String getCurrentFilter() {
		return currentFilter;
	} 
 
	public void research() { 
		initFilter = false;
		querySearch(currentFilter);
	} 
	 
	private void querySearch(final String filter) {