B4J Question [ABMaterial] v4.03 ABMList_Clicked problem

jcohedman

Member
Licensed User
Longtime User
with B4J Version 6.00 BETA #3 and ABMaterial v4.03, the function ABMList_clicked doesn't respond...
 

alwaysbusy

Expert
Licensed User
Longtime User
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

jcohedman

Member
Licensed User
Longtime User
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) ' <----------------------

   ...
Aging mistake... I don't replaced ABM libraries... sorry.
 
Upvote 0
Top