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

Method insertChildView

valdi/src/valdi/runtime/Views/DeferredViewTransaction.cpp:64–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64void DeferredViewTransaction::insertChildView(const Ref<View>& view,
65 const Ref<View>& childView,
66 int index,
67 const Ref<Animator>& animator) {
68 enqueue([=](IViewTransaction& transaction) { transaction.insertChildView(view, childView, index, animator); });
69}
70
71void DeferredViewTransaction::removeViewFromParent(const Ref<View>& view,
72 const Ref<Animator>& animator,

Callers 1

doUpdateViewTreeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected