AFAIK-- onKeyDown will be called first. Only if it does not consume the event (only if it returns false) does the filter processing happen.
Mike Wei wrote: > 1. write a activity extends ListAcitivity. set a > ResourceCursorAdapter. > 2. set getListView().setTextFilterEnabled(). > 3. write override mothed onKeydown(). > > Problem. > > when I typo letter, what's will happen? is > ResourceCursorAdapter.getFilter() or onKeydown? > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---