Addo Well-Known Member Licensed User Longtime User May 3, 2018 #1 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 ?
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 Longtime User May 4, 2018 #2 PassionDEV said: what i am doing wrong ? Click to expand... 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: May 4, 2018 Upvote 0
PassionDEV said: what i am doing wrong ? Click to expand... 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.
Addo Well-Known Member Licensed User Longtime User May 4, 2018 #3 But the clicked item keeps highlighted as its stuck Upvote 0
LucaMs Expert Licensed User Longtime User May 4, 2018 #4 PassionDEV said: But the clicked item keeps highlighted as its stuck Click to expand... PanelClickHandler needs 200ms to be completely executed (for an animation). You can use: B4X: Sub xclv_ItemClick (Index As Int, Value As Object) Sleep(200) StartActivity(moudle2) End sub Upvote 0
PassionDEV said: But the clicked item keeps highlighted as its stuck Click to expand... PanelClickHandler needs 200ms to be completely executed (for an animation). You can use: B4X: Sub xclv_ItemClick (Index As Int, Value As Object) Sleep(200) StartActivity(moudle2) End sub
Addo Well-Known Member Licensed User Longtime User May 4, 2018 #5 thank you very much it helps Upvote 0