chronos/src/main/java/com/redmadrobot/chronos/ChronosListenerManager.java
@NonNull
    public final synchronized ChronosListener createListener() {
        final int connectorId = mNextConnectorId.getAndIncrement();
        final ChronosListener result = new ChronosListener(connectorId);

        mListeners.put(connectorId, result);

        return result;
    }
@NonNull
    public final synchronized ChronosListener createListener() {
        final int connectorId = mNextConnectorId.getAndIncrement();
        final ChronosListener result = new ChronosListener(connectorId);

        mListeners.put(connectorId, result);

        return result;
    }
@ NonNull public final synchronized ChronosListener createListener ( ) { final int connectorId = mNextConnectorId . getAndIncrement ( ) ; final ChronosListener result = new ChronosListener ( connectorId ) ; mListeners . put ( connectorId , result ) ; return result ; }
Creates a new ServiceConnector instance. Do not call this method twice for a same object,
instead use {@link #getListener(int)} method.

@return a created ServiceConnector
Creates a new ServiceConnector instance . Do not call this method twice for a same object instead use { @link #getListener ( int ) } method .