MoECardUiHelper

Helper class to The UI Module of Cards

Author

Umang Chamaria

Since

1.0.0

Functions

Link copied to clipboard
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.

fun setAdapter(cardAdapter: CardAdapter, appId: String)

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

Link copied to clipboard
fun setClickListener(cardClickListener: OnCardClickListener?)

Set a listener to receive callback when a card or a call to action is clicked. This API sets the listener for the account configured as default.

fun setClickListener(appId: String, cardClickListener: OnCardClickListener?)

Set a listener to receive callback when a card or a call to action is clicked. This API sets the listener for the given account.