xiaobailong24 / MVVMArms

Android MVVM Architecture Components based on MVPArms and Android Architecture Components.
Apache License 2.0
424 stars 64 forks source link

关于Dagger.Android在项目中的使用 #8

Closed akathink closed 6 years ago

akathink commented 6 years ago

Hello: 最近在再看MVVM架构相关的一些东西,发现MVVMArms中含有Dagger.Android的库,但是里面却没有按照Dagger.Android的推荐方式去使用,是因为封装BaseActivity使用泛型有问题而不继承DaggerActivity的吗?

xiaobailong24 commented 6 years ago

是的,继承的成本太高。

On Sun, Apr 8, 2018, 09:15 akathink notifications@github.com wrote:

Hello:

最近在再看MVVM架构相关的一些东西,发现MVVMArms中含有Dagger.Android的库,但是里面却没有按照Dagger.Android的推荐方式去使用,是因为封装BaseActivity使用泛型有问题而不继承DaggerActivity的吗?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/xiaobailong24/MVVMArms/issues/8, or mute the thread https://github.com/notifications/unsubscribe-auth/AI_rpsRRnWsz3nsArcBEzvXtFnPnsG24ks5tmWSggaJpZM4TLVCd .