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

Method setViewModel

valdi/src/valdi/android/NativeBridge.cpp:551–563  ·  view source on GitHub ↗

* Class: snapchat_valdi_nativebridge_ValdiNativeBridge * Method: setViewModel * Signature: (JJLjava/lang/Object;)V */

Source from the content-addressed store, hash-verified

549 jlong contextHandle,
550 jboolean retainsLayoutSpecsOnInvalidateLayout) {
551 auto viewNodeTree = getViewNodeTree(contextHandle);
552
553 if (viewNodeTree == nullptr) {
554 return;
555 }
556
557 viewNodeTree->setRetainsLayoutSpecsOnInvalidateLayout(static_cast<bool>(retainsLayoutSpecsOnInvalidateLayout));
558}
559
560/*
561 * Class: snapchat_valdi_nativebridge_ValdiNativeBridge
562 * Method: setViewModel
563 * Signature: (JJLjava/lang/Object;)V
564 */
565void ValdiAndroid::NativeBridge::setViewModel( // NOLINT
566

Callers

nothing calls this directly

Calls 3

getContextFunction · 0.70
JavaEnvClass · 0.50

Tested by

no test coverage detected