Join Slack
Powered by
can we scope a class to a composable?
# dagger
o
Omkar Amberkar
06/07/2023, 7:51 PM
can we scope a class to a composable?
f
FunkyMuse
06/08/2023, 9:21 AM
Technically you can, you can create a component the first time the composable is called and once it's disposed you destroy it. Also all those dependencies that live in the component will be created and destroyed accordingly.
o
Omkar Amberkar
06/08/2023, 11:41 AM
can you kindly share an example?
2
Views
Open in Slack
Previous
Next