Code example for SimpleCursorAdapter

Methods: getFilter

0
 
	    @Override 
	    public void onTextChanged(CharSequence s, int start, int before, 
	            int count) { 
	         
	    	adapter.getFilter().filter(s.toString());	 
	    	 
	    } 
 
	}; 
 
 
	@Override 
	protected void onDestroy() { 
	    super.onDestroy(); 
	    filterText.removeTextChangedListener(filterTextWatcher);
	} 
 
 
	 
	@Override