-
- All Implemented Interfaces:
-
androidx.lifecycle.DefaultLifecycleObserver,androidx.lifecycle.LifecycleObserver
public final class MavericksMockPrinter implements DefaultLifecycleObserver
This registers a Broadcast receiver on the MavericksView (only in debug mode) that listens for the intent action ACTION_COPY_MAVERICKS_STATE to copy mavericks state to files on device.
The resulting file names are printed to logcat so tooling can copy them from device.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classMavericksMockPrinter.Companion
-
Method Summary
Modifier and Type Method Description UnitonStart(LifecycleOwner owner)UnitonStop(LifecycleOwner owner)UnitonDestroy(LifecycleOwner owner)-
-
Method Detail
-
onStart
Unit onStart(LifecycleOwner owner)
-
onStop
Unit onStop(LifecycleOwner owner)
-
onDestroy
Unit onDestroy(LifecycleOwner owner)
-
-
-
-