jcohedman Member Licensed User Longtime User Nov 30, 2017 #1 with B4J Version 6.00 BETA #3 and ABMaterial v4.03, the function ABMList_clicked doesn't respond...
alwaysbusy Expert Licensed User Longtime User Dec 1, 2017 #2 Looks fine in the demo app, see CompListPage -> the List1_Clicked(ItemId As String) event. Put a log in the Page_ParseEvents to see if the event is raised, but maybe the method signature in your code is wrong: B4X: Sub Page_ParseEvent(Params AsMap) Dim eventName AsString = Params.Get("eventname") Dim eventParams() AsString = Regex.Split(",",Params.Get("eventparams")) Log(" event name: " & eventName & " " & Params) ' <---------------------- ... Upvote 0
Looks fine in the demo app, see CompListPage -> the List1_Clicked(ItemId As String) event. Put a log in the Page_ParseEvents to see if the event is raised, but maybe the method signature in your code is wrong: B4X: Sub Page_ParseEvent(Params AsMap) Dim eventName AsString = Params.Get("eventname") Dim eventParams() AsString = Regex.Split(",",Params.Get("eventparams")) Log(" event name: " & eventName & " " & Params) ' <---------------------- ...
jcohedman Member Licensed User Longtime User Dec 1, 2017 #3 alwaysbusy said: Looks fine in the demo app, see CompListPage -> the List1_Clicked(ItemId As String) event. Put a log in the Page_ParseEvents to see if the event is raised, but maybe the method signature in your code is wrong: B4X: Sub Page_ParseEvent(Params AsMap) Dim eventName AsString = Params.Get("eventname") Dim eventParams() AsString = Regex.Split(",",Params.Get("eventparams")) Log(" event name: " & eventName & " " & Params) ' <---------------------- ... Click to expand... Aging mistake... I don't replaced ABM libraries... sorry. Upvote 0
alwaysbusy said: Looks fine in the demo app, see CompListPage -> the List1_Clicked(ItemId As String) event. Put a log in the Page_ParseEvents to see if the event is raised, but maybe the method signature in your code is wrong: B4X: Sub Page_ParseEvent(Params AsMap) Dim eventName AsString = Params.Get("eventname") Dim eventParams() AsString = Regex.Split(",",Params.Get("eventparams")) Log(" event name: " & eventName & " " & Params) ' <---------------------- ... Click to expand... Aging mistake... I don't replaced ABM libraries... sorry.