// Path: app/src/main/java/com/shaunchurch/androidpickings/AppComponent.java
// @ApplicationScope
// @Component(modules = { AppModule.class, UiModule.class, DataModule.class })
// public interface AppComponent extends AppGraph {
//     /**
//      * An initializer that creates the graph from an application.
//      */
//     final static class Initializer {
//         static AppComponent init(App app) {
//             return DaggerAppComponent.builder()
//                     .appModule(new AppModule(app))
//                     .build();
//         }
//         private Initializer() {} // No instances.
//     }
// 
//     Application provideApplication();
// }
// 
// Path: app/src/main/java/com/shaunchurch/androidpickings/ui/base/BaseActivity.java
// public abstract class BaseActivity extends ActionBarActivity {
// 
//     @Inject
//     AppContainer appContainer;
// 
//     @Override
//     protected void onCreate(Bundle savedInstanceState) {
//         super.onCreate(savedInstanceState);
// 
//         App app = App.get(this);
//         onCreateComponent(app.component());
// 
//         if(appContainer == null ){
//             throw new IllegalStateException("No injection happened. Add component.inject(this) in onCreateComponent.");
//         }
//     }
// 
//     /**
//      * Must be implemented by derived activities.
//      * Otherwise IllegalStateException will be thrown.
//      * Derived activity is responsible to store and save it's component.
//      */
//     protected abstract void onCreateComponent(AppComponent appComponent);
// 
// }


import android.os.Bundle;
import android.widget.ListView;
import com.shaunchurch.androidpickings.AppComponent;
import com.shaunchurch.androidpickings.R;
import com.shaunchurch.androidpickings.ui.base.BaseActivity;
import javax.inject.Inject;
import butterknife.ButterKnife;
import butterknife.InjectView;
package com.shaunchurch.androidpickings.ui.trees;





public class TreesActivity extends BaseActivity {

    private TreesComponent treesComponent;

    @Inject TreeAdapter treeAdapter;
    @Inject TreeSupplier treeSupplier;

    @InjectView(R.id.listTrees) ListView listView;

    @Override
// Path: app/src/main/java/com/shaunchurch/androidpickings/AppComponent.java
// @ApplicationScope
// @Component(modules = { AppModule.class, UiModule.class, DataModule.class })
// public interface AppComponent extends AppGraph {
//     /**
//      * An initializer that creates the graph from an application.
//      */
//     final static class Initializer {
//         static AppComponent init(App app) {
//             return DaggerAppComponent.builder()
//                     .appModule(new AppModule(app))
//                     .build();
//         }
//         private Initializer() {} // No instances.
//     }
// 
//     Application provideApplication();
// }
// 
// Path: app/src/main/java/com/shaunchurch/androidpickings/ui/base/BaseActivity.java
// public abstract class BaseActivity extends ActionBarActivity {
// 
//     @Inject
//     AppContainer appContainer;
// 
//     @Override
//     protected void onCreate(Bundle savedInstanceState) {
//         super.onCreate(savedInstanceState);
// 
//         App app = App.get(this);
//         onCreateComponent(app.component());
// 
//         if(appContainer == null ){
//             throw new IllegalStateException("No injection happened. Add component.inject(this) in onCreateComponent.");
//         }
//     }
// 
//     /**
//      * Must be implemented by derived activities.
//      * Otherwise IllegalStateException will be thrown.
//      * Derived activity is responsible to store and save it's component.
//      */
//     protected abstract void onCreateComponent(AppComponent appComponent);
// 
// }


// Path: app/src/main/java/com/shaunchurch/androidpickings/ui/trees/TreesActivity.java
import android.os.Bundle;
import android.widget.ListView;
import com.shaunchurch.androidpickings.AppComponent;
import com.shaunchurch.androidpickings.R;
import com.shaunchurch.androidpickings.ui.base.BaseActivity;
import javax.inject.Inject;
import butterknife.ButterKnife;
import butterknife.InjectView;

package com.shaunchurch.androidpickings.ui.trees;





public class TreesActivity extends BaseActivity {

    private TreesComponent treesComponent;

    @Inject TreeAdapter treeAdapter;
    @Inject TreeSupplier treeSupplier;

    @InjectView(R.id.listTrees) ListView listView;

    @Override
    protected void onCreateComponent(AppComponent appComponent) {