onTemplateBundleReady

Provide a reusable TemplateBundle after template is decode.

Syntax

Android

public void onTemplateBundleReady(@NonNull TemplateBundle bundle);

Parameters

  • bundle: The recycled template bundle, it is nonnull but could be invalid.
NOTE
  • This callback is disabled by default, and you can enable it through the DUMP_ELEMENT option or RECYCLE_TEMPLATE_BUNDLE option in LynxLoadMeta.

iOS

- (void)onTemplateBundleReady:(LynxTemplateBundle *)bundle;

Parameters

  • bundle: the recycled template bundle, it is nonnull but could be invalid
NOTE
  • This callback is disabled by default, and you can enable it through the enableRecycleTemplateBundle option in LynxLoadMeta.

Compatibility

LCD tables only load in the browser

Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.