VisibilityEventsHelper
Allows calling visibility events manually which is useful in automated tests
Since this requires a bunch of private APIs, and we haven't reached a conclusion of whether they should be public we are making aggressive use of reflection through Whitebox to call them
Functions
Link copied to clipboard
open fun triggerVisibilityEvent(componentTree: ComponentTree, visibilityEventType: Class<out Any>): Boolean
Tries to trigger the requested visibility event on the given component tree on the first matching visibility output