Android Question (Solved) SearchView and B4A slowness

anOparator

Active Member
Licensed User
Longtime User
Before upgrading to B4A 8.0 my Searchview with a 15 item List took about 200ms,
after changing the DoEvent to Sleep(0), and the Return Type to
Public Sub SetItems(Items As List) As ResumableSub
it takes 7468ms. Any ideas on why this delay building the list?
 

anOparator

Active Member
Licensed User
Longtime User
Happened in Debug and Release mode.
I commented the
B4X:
If i Mod 100 = 0 Then DoEvents
and the List builds in 90ms instead of 200ms
:) 8.0
 
Last edited:
Upvote 0
Top