get Lifecycle Owner
Returns the lifecycle owner for coroutine scope. For Fragment-based toolbars, return fragment?.viewLifecycleOwner. For View-based toolbars, return ViewTreeLifecycleOwner.get(view).
Returns the lifecycle owner for coroutine scope. For Fragment-based toolbars, return fragment?.viewLifecycleOwner. For View-based toolbars, return ViewTreeLifecycleOwner.get(view).