Code example for EventBus

Methods: post

0
        } else if (ext.compareTo(TS_EXT) == 0) {
            if (VERBOSE) Log.i(TAG, "posting hls segment written " + absolutePath);
            mEventBus.post(new HlsSegmentWrittenEvent(absolutePath));
        } else if (ext.compareTo(JPG_EXT) == 0) {
            if (VERBOSE) Log.i(TAG, "posting thumbnail written " + absolutePath);
            mEventBus.post(new ThumbnailWrittenEvent(absolutePath));
        } 
    } 
 
} 
Connect your IDE to all the code out there  Get Codota for Java