MCPcopy Create free account
hub / github.com/Snapchat/Valdi / current

Method current

valdi/src/java/com/snap/valdi/context/ValdiContext.kt:533–536  ·  view source on GitHub ↗

* Get the current ValdiContext. This will only be available during JavaScript to Java calls. */

Source from the content-addressed store, hash-verified

531 }
532 }
533
534 companion object {
535 private const val ROOT_VIEW_NODE_ID_SENTINEL = -1
536 private const val YOGA_MODE_UNSPECIFIED = 0
537 private const val YOGA_MODE_EXACTLY = 1
538 private const val YOGA_MODE_AT_MOST = 2
539

Callers 1

setBackButtonObserverMethod · 0.45

Calls 1

getCurrentContextMethod · 0.65

Tested by

no test coverage detected