Example of implementing a chat layout. It is based on xCustomListView. The text is created with a hidden BBCodeView (BCTextEngine) and the bubble is drawn with BitmapCreator. Extracting the image from BBCodeView is not trivial. See the code. The code is implemented in the Chat class which is...
Hello, I'm using this example to do my chat: https://www.b4x.com/android/forum/threads/b4x-cross-platform-chat-layout-example.112649/#content But i did not get how to put an image in the bubble. Is there a way to do this with this example? Thank you.
Hello everyone, I use this code in B4A and works correctly. https://www.b4x.com/android/forum/threads/chat-example-bctextengine.113203/#post-706276 But when i use in B4I the text message it's not showing, just the bubble my sub BuildMessage it's this one Private Sub BuildMessage (Text As...
The simplest way to do it is to use a different BBCodeView or BBLabel for each chat message. Otherwise, you will need to correctly build the views structure yourself and it can be a bit difficult to do it correctly.