Call another method inside of method closure
Is it possible to add another method inside of a closure, and if so, how to properly do it?
For instance,
As example, I'm grabbing the value of 'stock' field, and run a conditional statement. And if conditions are met, I want to show the hint text, and maybe add another method to that field, like
For instance,
As example, I'm grabbing the value of 'stock' field, and run a conditional statement. And if conditions are met, I want to show the hint text, and maybe add another method to that field, like
hintIcon() of hintColor()