1 min readApr 20, 2020
Hi GuilhE, thanks. Try consider using the GenericSavedStateViewModelFactory
approach, where you could more easily get your intent.extra
through. Else you’ll need to have a way to inject your intent.extra
through a subcomponent builder etc, which hurts my brain how it could be done.
The problem with template is, it makes it not flexible when you face some problem that the template doesn’t solve.
Hence I personally recommend try go for some easier way, unless you are pretty sure what you’re doing, and how it works behind the scene. Else it will come and haunt you back in the future.