setAdapter

fun setAdapter(cardAdapter: CardAdapter)

Set an adapter to customise each row in the list of cards.This API sets the adapter for the account marked as default.

Since

1.0.0

Parameters

cardAdapter

instance of a class extending CardAdapter


fun setAdapter(cardAdapter: CardAdapter, appId: String)

Set an adapter to customise each row in the list of cards for the given account.

Since

1.0.0

Parameters

cardAdapter

instance of a class extending CardAdapter

appId

Account identifier, APP ID on the MoEngage Dashboard.