Dagger: How to create and inject nested fragments in dagger 2.11

Created on 22 Jul 2017  路  3Comments  路  Source: google/dagger

Hi, I'm use last 2.11 version dagger, and how to connect nested fragment subcomponent their father fragment subcomponents

Most helpful comment

This article provides a complete guide to using Dagger.Android (2.11) dependency injection framework with support for @Singleton, @PerActivity , @PerFragment, and @PerChildFragment scopes: https://proandroiddev.com/how-to-android-dagger-2-10-2-11-butterknife-mvp-part-1-eb0f6b970fd

You can take a look at this gist for a quick overview: https://gist.github.com/vestrel00/64be913f954989fe52c674247e093218

All 3 comments

This article provides a complete guide to using Dagger.Android (2.11) dependency injection framework with support for @Singleton, @PerActivity , @PerFragment, and @PerChildFragment scopes: https://proandroiddev.com/how-to-android-dagger-2-10-2-11-butterknife-mvp-part-1-eb0f6b970fd

You can take a look at this gist for a quick overview: https://gist.github.com/vestrel00/64be913f954989fe52c674247e093218

@vestrel00 using your "framework", how do I add fragments in the stack? For example: Fragment1 -> Fragment2 -> Fragment3

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vorburger picture vorburger  路  4Comments

cesar1000 picture cesar1000  路  3Comments

SAGARSURI picture SAGARSURI  路  3Comments

feinstein picture feinstein  路  3Comments

sagarwaghmare07 picture sagarwaghmare07  路  3Comments