Code example for EventBus

Methods: register

0
 * Time: 12:14 AM 
 */ 
public class InvalidSubscriberMultipleParameter { 
 
    public InvalidSubscriberMultipleParameter(EventBus eventBus) {
        eventBus.register(this);
    } 
 
    @Subscribe 
    public void handleCreditEvent(CreditPurchaseEvent event, Object foo) {
        //DO nothing this will not work 
    } 
}