cloud/src/main/java/com/adamg/materialtemplate/cloud/CloudDelegate.java
public void inject(final Object object) {
        // If we can't add to the graph, throw an error
        if (mObjectGraph == null) {
            final String error = "Cannot inject the object " + object.getClass().getSimpleName() + " into the ObjectGraph "
                    + "because it is null";

            Log.e(TAG, error);

            throw new IllegalArgumentException(error);
        }

        // Inject the Object
        mObjectGraph.inject(object);
    }
/**
     * Directly inject a {@link java.lang.Object} into the Dagger DI graph
     *
     * @param object the Object which needs a specific dependency supplied by the system
     */
Directly inject a  java.lang.Object into the Dagger DI graph
@param object the Object which needs a specific dependency supplied by the system
Directly inject a java . lang . Object into the Dagger DI graph @param object the Object which needs a specific dependency supplied by the system
public void inject(final Object object) {
        if (mObjectGraph == null) {
            final String error = "Cannot inject the object " + object.getClass().getSimpleName() + " into the ObjectGraph "
                    + "because it is null";
            Log.e(TAG, error);
            throw new IllegalArgumentException(error);
        }
        mObjectGraph.inject(object);
    }
public void inject ( final Object object ) { if ( mObjectGraph == null ) { final String error = "Cannot inject the object " + object . getClass ( ) . getSimpleName ( ) + " into the ObjectGraph " + "because it is null" ; Log . e ( TAG , error ) ; throw new IllegalArgumentException ( error ) ; } mObjectGraph . inject ( object ) ; }
Directly inject a {@link java.lang.Object} into the Dagger DI graph
 @param object the Object which needs a specific dependency supplied by the system
Directly inject a { @link java . lang . Object } into the Dagger DI graph @param object the Object which needs a specific dependency supplied by the system
// If we can't add to the graph, throw an error // Inject the Object