Mar
5
2012
Problem : Button has only one OnClickListener .
In rare situations ,we want to set more than one listener to the button. after filtering some business logic, it is good to add listeners when logic condition fits.
Solution : in a decorated button class, which holds a List<OnClickListener> . Then instead of seting listener ,we can add listeners.
public class DecoratedButton e...
[More]