Back to project page RZAndroidBaseUtils.
The source code is released under:
MIT License
If you think the Android project RZAndroidBaseUtils listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.raizlabs.events; //from ww w. j a v a2 s .c o m /** * Generic EventListener which takes arguments of type T * @author Dylan James * * @param <T> The type of the arguments which will be passed to the onEvent method. */ public interface EventListener<T> { /** * Called when the event is triggered. * @param sender The object sending the message. * @param args The arguments of the event. */ void onEvent(Object sender, T args); }