NativeScript

Submit and vote on ideas for the NativeScript framework and NativeScript plugins

Get _nativeView without adding the {N} View to UI Visual Tree

Right now {N} View .android is null unless you add the element to the UI Visual Tree.

I want to define a {N} View in xml, load it with builder, then get its _nativeView (.android or .ios) without the need of adding it to the UI visual tree and then add the _nativeView to a native container as a child.

I believe this is a huge limitation.

  • Alex Rainman
  • Jul 21 2016
Link to GitHub issue https://github.com/NativeScript/NativeScript/issues/2476
  • Attach files
  • Gravatar