Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
data class CouponItem(val projectId: String?, val coupon: Coupon?, val mode: CouponItem.Mode = Mode.Normal) : Parcelable
Link copied to clipboard

A Coupon Manager which holds the current active Coupons as LiveData. There are two ways to access them:

Link copied to clipboard
class CouponOverviewView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0) : FrameLayout

Show the coupons for the given LiveData, set via setCouponSource. The padding left and right is overwritten so that you can apply your own key lines so that the view can use the full width to display the coupon cards. You can control with hideWhenLoading and hideWhenEmpty if the view should be shown in that states.