FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

TypeError: using <Placeholder> example from docs · Issue #901 · NativeScript/NativeScript · GitHub

TypeError: using <Placeholder> example from docs #901

Description

Samsung Tab (4.4.2) -

Error: TypeError: android.widget.LabelView is not a function...

 var placeholder = require("ui/placeholder");
   function creatingView(args) {
var nativeView = new android.widget.LabelView(args.context);
nativeView.setText("Native");
args.view = nativeView;
 }
exports.creatingView = creatingView;

With the sample XML inside a

   <StackLayout>
                <Placeholder creatingView="creatingView"/>
              </StackLayout>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL