public class LifecycleUtil
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
closeOnDestroy(LifecycleOwner owner,
Scope scope)
The
scope will be closed automatically during owner's onDestroy event. |