Android Question Force search in "Searchview"

aldomoscarda

Member
Licensed User
Longtime User
When entering "searchview" (the first time), I must send 3 characters without entering by keyboard. Is this possible to do?


Public Sub Initialize (Callback As Object, EventName As String)
transporte2 = Main.transporte
et.Initialize("et")
et.Typeface =Sonda
et.TextSize = 24
et.TextColor = Colors.Black
et.Background = BackGround(Colors.White)
et.InputType = Bit.Or(et.INPUT_TYPE_TEXT, Bit.Or(4096, 80000))
et.RequestFocus
et.Text = transporte2
et.Text.ToUpperCase
lv.Initialize("lv")
Dim gd As GradientDrawable
gd.Initialize("BOTTOM_TOP", Array As Int (Colors.LightGray, Colors.White, Colors.LightGray))
lv.SingleLineLayout.Background = gd
For i = 1 To 100
lv.AddSingleLine("Item #" & i)
Next

lv.SingleLineLayout.ItemHeight = 40dip
lv.SingleLineLayout.Label.TextSize = 20
lv.SingleLineLayout.Label.TextColor = Colors.black
lv.Visible = False
lv.Color= Colors.white' "black"

prefixList.Initialize
substringList.Initialize
mCallback = Callback
mEventName = EventName

' Msgbox("por aqui pase", "")
End Sub
 
Top