Has anyone who's used the navigation library figured out a way to get a reference to a newly added fragment? I'm trying to use the google places API and they provide a fragment of their own. That fragment needs a few values set on it so I'm trying to figure out how to do that.
05/06/2019, 9:20 PM
A Wrapper fragment may be?
05/06/2019, 9:21 PM
That's a good idea, unfortunately there's a listener that I'll need to set on the fragment. One option then would be to use a shared view model, but that's more boilerplate than I'd like. It's a good back up plan though
05/06/2019, 9:32 PM
If places fragment is not final, it might be possible to extend and override for custom logic and super for rest of logic
@ianhlake might have better idea, he is on twitter