B4A Library [B4X]Conversations view for B4A, B4i

Provides a view to display a conversations panel like various messenger systems.

Add/update messages, avatars or automatic initials, long press to select conversation(s), preview latest message option, number of unread messages view, modify colours, borders etc etc.

Demo is straight forward.

ConvoListImg.PNG

Events:

PreviewConversation(conv As convoEntry)
OpenConversation(conv As convoEntry)
EditContact(id As string)
DeleteConversations(ids As list)

Methods:

UpdateConversation(id As String, WithWho As String, dt As Long, UnreadCount As Int, avImg As B4XBitmap) As Boolean
SetMessagePreview(id As String, previewText As String)
RemoveConversation(id As String)
 

Attachments

  • demo.zip
    313.2 KB · Views: 180
  • clvConvoList.b4xlib
    320 KB · Views: 180
Last edited:
Top