carlw
02/27/2019, 12:19 PMShan
02/28/2019, 3:45 AMScopedView
abstract class that implements a CoroutineScope
interface, and then extend my views/fragments I need with a coroutines scope from there. It seems like tfx has already implemented the same sort of idea with tfx's custom scoping.Shan
02/28/2019, 3:46 AMinject()
rather than normal instantiation affects the lifecycle calls? I can't seem to find any information about it in the wiki or in the dokka docs.Shan
02/28/2019, 3:47 AMfind<MyFragment>()
instantiates the fragment every time (as opposed to find<MyView>() which will find it if it's already instantiated from what I understand via your explanation) I would expect the fragment's onDock()
to get called when using normal instantiation methods as well, but I might be missing something.carlw
02/28/2019, 4:04 AMcarlw
02/28/2019, 4:05 AMShan
02/28/2019, 4:23 AMonDock()
gets called for when I instantiate my view, but not my fragment, as I'm not creating a new stage.Shan
02/28/2019, 4:23 AMcarlw
02/28/2019, 4:24 AM