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