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

ListView not updating on Android · Issue #3193 · NativeScript/NativeScript · GitHub

ListView not updating on Android #3193

Description

Tell us about the problem

The listview on Android behaves oddly when updating elements on particular rows, using Angular and TS, Observable and ObservableArray

Which platform(s) does your issue occur on?

Android Only

Please provide the following version numbers that your issue occurs with:

{
"description": "NativeScript Application",
"license": "SEE LICENSE IN ",
"readme": "NativeScript Application",
"repository": "",
"nativescript": {
"id": "org.nativescript.nativescriptexperimentts",
"tns-android": {
"version": "2.3.0"
},
"tns-ios": {
"version": "2.3.0"
}
},
"scripts": {
"build": "tns run android --device 1 --watch",
"livesync": "tns livesync android --device 1 --watch"
},
"dependencies": {
"@angular/common": "2.1.2",
"@angular/compiler": "2.1.2",
"@angular/core": "2.1.2",
"@angular/forms": "2.1.2",
"@angular/http": "2.1.2",
"@angular/platform-browser": "2.1.2",
"@angular/platform-browser-dynamic": "2.1.2",
"@angular/router": "3.1.2",
"nativescript-angular": "1.1.3",
"nativescript-theme-core": "^0.2.1",
"reflect-metadata": "~0.1.8",
"rxjs": "5.0.0-beta.12",
"tns-core-modules": "2.4.0",
"typed-event-emitter": "^1.0.3",
"typescript-collections": "^1.2.3"
},
"devDependencies": {
"babel-traverse": "6.19.0",
"babel-types": "6.19.0",
"babylon": "6.14.1",
"lazy": "1.0.11",
"nativescript-dev-android-snapshot": "^0..",
"nativescript-dev-typescript": "^0.3.2",
"typescript": "^2.0.10",
"zone.js": "~0.6.21"
}
}

Please tell us how to recreate the issue in as much detail as possible.

  1. Clone repo https://github.com/johnnyzen/NativeScript-Issue
  2. Run the project on Android
  3. Click the Add button to add a row
  4. You should see a counter on the row just added increment by 1
  5. Add another row using the Add button. Again this newly added row should also have a counter incrementing by 1.
  6. Now keep pressing the "Press Me" on the first row until the counter reaches 0
  7. When the first row counter reaches zero, the rest of the list items stop updating

Expected Behaviour

The rest of the items should continue to update as usual.
THIS WORKS FINE ON IOS

Activity

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL