Closed RishabhRawatAndroid closed 6 years ago
I notice that your code has a method updateColors but this method is not available in 1.0.2 version library.
public void updateColors(int backgroundColor, int textColor) {
this.textView.setBackgroundColor(backgroundColor);
this.addBtn.setBackgroundColor(backgroundColor);
this.subtractBtn.setBackgroundColor(backgroundColor);
this.textView.setTextColor(textColor);
this.addBtn.setTextColor(textColor);
this.subtractBtn.setTextColor(textColor);
}
I am creating an app which I use this library for adding the cart item but the problem is button colour not change in dynamically. I use this code but not change the color