public static void sendDelayed(Object event, long delayMillis) { if (bus == null) { from(Ioc.getIoc().getApplication()); if (bus == null) { throw new NullPointerException("TinyBus Need to initialize"); } } bus.postDelayed(event, delayMillis); }
public static void send(Object event) { if (bus == null) { from(Ioc.getIoc().getApplication()); if (bus == null) { throw new NullPointerException("TinyBus Need to initialize"); } } bus.post(event); }