CardConfig

open fun CardConfig(cardPlaceHolderImage: Int, inboxEmptyImage: Int, cardsDateFormat: String, isSwipeRefreshEnabled: Boolean)

Create an instance of Card Configuration.

Parameters

cardPlaceHolderImage

SDK shows a placeholder image in case the image download fails. In case you want to change the placeholder image pass in the resource id of the image else pass -1.

inboxEmptyImage

SDK shows an image indicating inbox is empty. In case you want to change the image pass in the resource id of the image else pass -1.

cardsDateFormat

String for formatting date shown on each card.

isSwipeRefreshEnabled

true if swipe refresh should be enabled, else false.


open fun CardConfig(@DrawableRes cardPlaceHolderImage: Int, @DrawableRes inboxEmptyImage: Int, cardsDateFormat: String)

Create an instance of Card Configuration.

Parameters

cardPlaceHolderImage

SDK shows a placeholder image in case the image download fails. In case you want to change the placeholder image pass in the resource id of the image else pass -1.

inboxEmptyImage

SDK shows an image indicating inbox is empty. In case you want to change the image pass in the resource id of the image else pass -1.

cardsDateFormat

String for formatting date shown on each card.


open fun CardConfig(cardPlaceHolderImage: Int, inboxEmptyImage: Int)

Create an instance of Card Configuration.

Parameters

cardPlaceHolderImage

SDK shows a placeholder image in case the image download fails. In case you want to change the placeholder image pass in the resource id of the image else pass -1.

inboxEmptyImage

SDK shows an image indicating inbox is empty. In case you want to change the image pass in the resource id of the image else pass -1.


open fun CardConfig()

Creates and instance of default Card Configuration.


open fun CardConfig(isSwipeRefreshEnabled: Boolean)

Create an instance of Card Configuration.

Parameters

isSwipeRefreshEnabled

true if swipe refresh should be enabled, else false.