Skip to content

Instantly share code, notes, and snippets.

@lseongjoo
Created March 13, 2013 06:43
Show Gist options
  • Save lseongjoo/5149834 to your computer and use it in GitHub Desktop.
Save lseongjoo/5149834 to your computer and use it in GitHub Desktop.
@Override
public void onTextChanged(CharSequence s, int start, int before, int count){
if(start >0 && before == 1 && count == 1){
if(geocoderTask != null){
gecoderTask.cancel(true);
}
geocodeTask = new GeocodeTask();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment