/*
 * Copyright (C) 2014 Pedro Vicente Gómez Sánchez.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.github.pedrovgs.sample;

import android.app.Application;
import com.github.pedrovgs.sample.di.MainModule;
import dagger.ObjectGraph;

/**
 * @author Pedro Vicente Gómez Sánchez.
 */
public class DraggablePanelApplication extends Application {

    private ObjectGraph objectGraph;

    @Override
    public void onCreate() {
        super.onCreate();
        MainModule mainModule = new MainModule(this);
        objectGraph = ObjectGraph.create(mainModule);
        objectGraph.inject(this);
        objectGraph.injectStatics();
    }

    public void inject(Object object) {
        objectGraph.inject(object);
    }
}

@@ -755,16 +755,146 @@
 h;%0A%0A/**%0A
+ * Application implementation created to handle the dependency container implementation provided by the ObjectGraph%0A * entity.%0A *%0A
  * @auth
@@ -1029,16 +1029,126 @@
 Graph;%0A%0A
+    /**%0A     * Override method used to initialize the dependency container graph with the MainModule.%0A     */%0A
     @Ove
@@ -1394,16 +1394,124 @@
 %0A    %7D%0A%0A
+    /**%0A     * Inject an object to provide all the needed dependencies.%0A     *%0A     * @param object%0A     */%0A
     publ

Add javadoc to DraggablePanel application class