Dagger: AndroidInjection support for androidx Fragment

Created on 6 Jul 2018  路  4Comments  路  Source: google/dagger

Hello,

I'd like to add a proposal to add support for injection in fragments from an androidx module.

Most helpful comment

My code is still not compiling even after enabling jetifier. I am trying to use HasFragmentInjector or HasSupportFragmentInjector how would I move ahead with that

All 4 comments

This already works when using dejetifier. I don't see a reason to add support for this prior to AndroidX going stable where you'll also need dejetifier if you're still in the support library world.

My code is still not compiling even after enabling jetifier. I am trying to use HasFragmentInjector or HasSupportFragmentInjector how would I move ahead with that

change to version 2.16

please refer the android x working sample https://github.com/jega-ms/android-dagger2-mvp-rx

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cesar1000 picture cesar1000  路  3Comments

Axrorxoja picture Axrorxoja  路  3Comments

blackberry2016 picture blackberry2016  路  3Comments

SAGARSURI picture SAGARSURI  路  3Comments

mskx42 picture mskx42  路  3Comments