// << autocomplete-remote-do-in-background-xamarin // >> autocomplete-remote-on-post-execute-xamarin protected override void OnPostExecute(Java.Lang.Void result) { ArrayList filtered = new ArrayList(); remoteData = GetTokenModelObjects(data); foreach (TokenModel item in remoteData) { string text = item.Text; if (text.ToLower().StartsWith(filter.ToLower())) { filtered.Add(item); } } remoteCallback.Apply(filtered); autocomplete.ResolveAfterFilter(autocomplete.TextField.Text.ToString(), true); }