Code example for EventBus

Methods: register

0
 * Time: 12:21 AM 
 */ 
public class InvalidSubscriberNoParameters { 
 
    public InvalidSubscriberNoParameters(EventBus eventBus) {
        eventBus.register(this);
    } 
 
    @Subscribe 
    public void handleEvent() { 
        //DO nothing will not work 
    } 
}