Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
@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