MoEInboxUiHelper

class MoEInboxUiHelper

Helper class for Inbox-ui related features.

Author

Arshiya Khanum

Since

1.0.00

Types

Companion
Link copied to clipboard
object Companion

Functions

setInboxAdapter
Link copied to clipboard
fun setInboxAdapter(inboxAdapter: InboxAdapter?)

Set a custom adapter to customise each row in the List of messages. This API sets the adapter for the account marked as default.

fun setInboxAdapter(inboxAdapter: InboxAdapter?, appId: String)

Set a custom adapter to customise each row in the List of messages. This API sets the adapter for the given account.

setOnMessageClickListener
Link copied to clipboard
fun setOnMessageClickListener(listener: OnMessageClickListener?)

Registers/Unregisters a callback to be notified for message click event. This API sets the listener for the account marked as default.

fun setOnMessageClickListener(appId: String, listener: OnMessageClickListener?)

Registers/Unregisters a callback to be notified for message click event. This API sets the listener for the given account.