Join Slack
Powered by
What exactly is the difference between `ActivityRe...
# dagger
a
Archie
06/14/2020, 9:06 AM
What exactly is the difference between
ActivityRetainedComponent
vs
ActivityComponent
??
g
gildor
06/15/2020, 2:49 AM
ActivityRetainedComponent is alive between activity destroy and recreate, same as ViewModel
a
Archie
06/16/2020, 5:37 AM
Hmm... is there something similar for fragments?
g
gildor
06/16/2020, 6:08 AM
what do you mean? Fragment by default alive on configuration change, and just use Fragment scope
gildor
06/16/2020, 6:09 AM
or just use the same scope, of course you cannot use Fragment dependencies there
5
Views
Open in Slack
Previous
Next