findUIByName

Find LynxUI nodes based on the name attribute.

Syntax

Android

public LynxBaseUI findUIByName(String name);

Parameters

  • name: The name attribute of the view specified by the front end in the layout file.

Return

  • The LynxUI node corresponding to the name attribute.

iOS

- (nullable LynxUI *)uiWithName:(nonnull NSString *)name;

Parameters

  • name: The name attribute of the view specified by the front end in the layout file.

Return

  • The LynxUI node corresponding to the name attribute.

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.