I have tried to use this Cross platform chat layout example with B4XPages, I changed some of code for example I used just one page as chat page and all the views are loaded by call loadLayout function like this :
when I try to add item to clv I get error :
I attached the code. how can I fix this error ? thanks
B4X:
Private Sub B4XPage_Created (Root1 As B4XView)
Root = Root1
Root.LoadLayout("chat")
Engine.Initialize(pnlContent)
bc.Initialize(300, 300)
TextField.NextField = TextField
End Sub
when I try to add item to clv I get error :
Error occurred on line: 876 (BCTextEngine)
Object was not initialized (NSObject)
I attached the code. how can I fix this error ? thanks