| 83 | } |
| 84 | |
| 85 | Valdi::Ref<Valdi::ViewFactory> ViewManager::createViewFactory( |
| 86 | const Valdi::StringBox& className, const Valdi::Ref<Valdi::BoundAttributes>& boundAttributes) { |
| 87 | auto* jClass = getClassForName(className).javaClass.getClass(); |
| 88 | auto viewFactory = _createViewFactoryMethod.call(toObject(), jClass); |
| 89 | auto viewFactoryObject = |
| 90 | ValdiAndroid::GlobalRefJavaObjectBase(getEnv(), viewFactory.getUnsafeObject(), "ViewFactory"); |
| 91 | |
| 92 | return Valdi::makeShared<ValdiAndroid::AndroidViewFactory>( |
| 93 | std::move(viewFactoryObject), className, *this, boundAttributes, false); |
| 94 | } |
| 95 | |
| 96 | void ViewManager::callAction(Valdi::ViewNodeTree* viewNodeTree, |
| 97 | const Valdi::StringBox& actionName, |
nothing calls this directly
no test coverage detected