setInboxAdapter

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.

Since

1.0.00

Parameters

inboxAdapter

instance of InboxAdapter

Throws

if the SDK is not initialized.


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.

Since

2.0.0

Parameters

inboxAdapter

instance of InboxAdapter

appId

Account identifier, APP ID on the MoEngage Dashboard.

Throws

if the SDK is not initialized.