Nativescript-ui-feedback: RadListView gave a 'extend of undefined' error

Created on 18 Jan 2018  路  5Comments  路  Source: ProgressNS/nativescript-ui-feedback

Hi there, I am trying to use RadListView in my demo. The issue occured when the code was livesyncing.

RadListView gave a 'extend of undefined' error

Android

  • Progress NativeScript UI version: ^3.3.0
  • CLI: 3.4.1
  • Cross-platform modules: ~3.4.0
  • Runtime(s): 3.4.1
  1. Start the application
  2. add the nativescript-pro-ui through tns add plugin nativescript-pro-ui
  3. import NativeScriptUIListViewModule in app.module.ts
  4. use RadListView in html
  5. run tns debug android
    image
    items.component.html
    image
android question

Most helpful comment

These errors usually happen when nativescript cli failed to properly add plugin data to platforms folder (when you do a tns plugin install), to correct:

  • tns platform remove
  • tns platform add
  • tns install
  • tns run

That solved for me most any ui undefined errors :)

Thanks @NickIliev! I've solved the issue when I updated my nativescript.
I updated it from 3.4.1 to 3.4.2
However, I still don't know what caused the issue.

All 5 comments

Hey, @karl-ford I tried to reproduce the issue using this demo app but to no avail.

Can you provide a sample project or a Playground demo that can reproduce the issue so we could investigate further

hi @NickIliev !
The whole project is here : Practice APP
I ran it on windows 8.1
Sorry for can't provice a Playground demo, because I am been blocked by the GFW

@karl-ford as you are using Rxjs Observable which loads the data items async I have just introduced the async pipe in the RadListView and the app worked as expected.

<RadListView [items]='items | async'>

However, I was not able to hit the RadListView gave a 'extend of undefined' error so do let me know if you have managed to resolve the issue on your side.

Thanks @NickIliev! I've solved the issue when I updated my nativescript.
I updated it from 3.4.1 to 3.4.2
However, I still don't know what caused the issue.

These errors usually happen when nativescript cli failed to properly add plugin data to platforms folder (when you do a tns plugin install), to correct:

  • tns platform remove
  • tns platform add
  • tns install
  • tns run

That solved for me most any ui undefined errors :)

Thanks @NickIliev! I've solved the issue when I updated my nativescript.
I updated it from 3.4.1 to 3.4.2
However, I still don't know what caused the issue.

Was this page helpful?
0 / 5 - 0 ratings