Android Question calling startactivity or stopactivity in XCustomlistview itemclick

PassionDEV

Well-Known Member
Licensed User
i got this hint in the logger when i call start activity in itemclick event and the item keeps as selected

B4X:
Sleep not resumed (context is paused): b4a.example3.customlistview$ResumableSub_PanelClickHandler

thats how i call it

B4X:
Sub xclv_ItemClick (Index As Int, Value As Object)
StartActivity(moudle2)
End sub

what i am doing wrong ?
 

LucaMs

Expert
Licensed User
what i am doing wrong ?
Nothing.

The internal routine of xCustomListView that handles the click (PanelClickHandler) is a resumable sub. When you click and start moudle2, the current activity is set in background and then that routine can not be resumed.

I think you can ignore that message.
 
Last edited:
Upvote 0
Top