Android Question Hide Keyboard timing problem

kohle

Active Member
Licensed User
Longtime User
I have a customlistview (clv1) with a panel that contains a imageview (buttonsearch)
and a textfield


The jump dont work :

B4X:
Sub ButtonSearch_Click
 
    Phone1.HideKeyboard(Activity)
 
    CLV1.JumpToItem(100)
        
  end sub

This works :

B4X:
Sub ButtonSearch_Click
 
    Phone1.HideKeyboard(Activity)
sleep(100)
CLV1.JumpToItem(100)
        
  end sub


Is there are other option for waiting that the keyboard is hidden ?
 
Top