How to inject pojo dependencies using dagger 2?
<p>I have a simple pojo class:</p>

<pre><code>public class MySimpleClass {

    private List&lt;String&gt; mDependency;

    public MySimpleClass (List&lt;String&gt; dependency) {
        mDependency = dependency;
    }
}
</code></pre>

<p>And I'm trying to have it created using dependency injection using dagger 2. Right now I have a simple module and component for it:</p>

<pre><code>@Module
public class MySimpleClassModule {

    @Provides
    MySimpleClass provideMySimpleClass(List&lt;String&gt; dependency) {
        return new MySimpleClass(dependency);
    }
}

@Component(modules={MySimpleClassModule.class})
public interface MySimpleClassComponent {
}
</code></pre>

<p>But I'm not sure how can I inject the <code>List&lt;String&gt;</code> dependency every time I need to create a new instance of <code>MySimpleClass</code>. In the above scenario, it seems I would actually need to add <code>List&lt;String&gt;</code> to the constructor of <code>MySimpleClassModule</code> and have a new instance of that module every time I need a new instance of <code>MySimpleClass</code> with a new <code>List&lt;String&gt;</code>. Is that correct? It seems like a lot of overhead in this particular case.</p>