CardConfig

open class CardConfig

Card Configuration.

Author

Umang Chamaria

Constructors

CardConfig
Link copied to clipboard
open fun CardConfig(cardPlaceHolderImage: Int, inboxEmptyImage: Int, cardsDateFormat: String, isSwipeRefreshEnabled: Boolean)
Create an instance of Card Configuration.
CardConfig
Link copied to clipboard
open fun CardConfig(@DrawableRes cardPlaceHolderImage: Int, @DrawableRes inboxEmptyImage: Int, cardsDateFormat: String)
Create an instance of Card Configuration.
CardConfig
Link copied to clipboard
open fun CardConfig(cardPlaceHolderImage: Int, inboxEmptyImage: Int)
Create an instance of Card Configuration.
CardConfig
Link copied to clipboard
open fun CardConfig()
Creates and instance of default Card Configuration.
CardConfig
Link copied to clipboard
open fun CardConfig(isSwipeRefreshEnabled: Boolean)
Create an instance of Card Configuration.

Functions

toString
Link copied to clipboard
open fun toString(): String

Properties

cardPlaceHolderImage
Link copied to clipboard
open val cardPlaceHolderImage: Int
Resource id for the placeholder image for cards.
cardsDateFormat
Link copied to clipboard
open val cardsDateFormat: String
Date format shown on each card.
DEFAULT_IS_SWIPE_REFRESH_ENABLED
Link copied to clipboard
val DEFAULT_IS_SWIPE_REFRESH_ENABLED: Boolean
inboxEmptyImage
Link copied to clipboard
open val inboxEmptyImage: Int
Resource id for image indicating empty inbox.
isSwipeRefreshEnabled
Link copied to clipboard
open val isSwipeRefreshEnabled: Boolean
Indicates whether Swipe to refresh is enabled, enabled by default.