autocompletetextview - Are Android adapters asynchronous? -
i looked @ this example google, it's adapter on autocompletetextview
makes network call api retrieve auto-complete suggestions.
it doesn't use asynktask
or threads, doesn't give strictmode
warnings , doesn't lock ui when there's no internet connection , i'm wondering why.
is arrayadapter
asynchronous?
filtering perfomed asynchronously.
filtering operations performed calling
filter(charsequence)
orfilter(charsequence, android.widget.filter.filterlistener)
performed asynchronously. when these methods called, filtering request posted in request queue , processed later. call 1 of these methods cancel previous non-executed filtering request.
Comments
Post a Comment