Skip to content

Manage add to cart operation easier for android apps

Notifications You must be signed in to change notification settings

ayhanunal/BasketLayout

 
 

Repository files navigation

maximum quantity filter for basket

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)
}

About

Manage add to cart operation easier for android apps

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 100.0%