You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for your nice library. It sets counter value as 1 while opening the view. At the very first time while opening the view I want to set some specific value. I tried changing some code into IncrementProductView and BoardView classes. But no luck.
Thanks for any workaround.
The text was updated successfully, but these errors were encountered:
As I understood you want to set default value what different from 1? If so I thing you only need add getter method to get BoardView in the IncrementProductView. Something like this:
IncrementProductViewview = (IncrementProductView) findViewById(R.id.productView);
// use getter, now IncrementProductView doesn't have this behaveview.getBoardView().setCount(5);
// or encapsulate all this logic inside IncrementProductViewview.setDefaultCount(5);
Please, give me some feedback when you try it, thanks.
Hello,
Thanks for your nice library. It sets counter value as 1 while opening the view. At the very first time while opening the view I want to set some specific value. I tried changing some code into IncrementProductView and BoardView classes. But no luck.
Thanks for any workaround.
The text was updated successfully, but these errors were encountered: