maxBasketLimit?.let {
if ((quantity + incrementValue) > it){
listener?.maxLimitExceeded()
}else{
listener?.onClickIncreaseQuantity(quantity + incrementValue)
setLoading()
}
}
if (maxBasketLimit == null) {
listener?.onClickIncreaseQuantity(quantity + incrementValue)
setLoading()
}
findViewById<BasketLayoutView>(R.id.basketView).apply {
this.setMaxBasketLimit(5)
}