question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Some properties of ListView items are not visible

See original GitHub issue

Did you verify this is a real problem by searching Stack Overflow and the other open issues in this repo?

I saw other issues that seem related to the problem I have (#4836 & #angular-377), however the mentioned temporary solution of using listview.refresh() does not help.

Tell us about the problem

The view has a single ListView with items. The properties of some of the items are not immediately visible - they sometimes become visible if I scroll down and then back up. There’s an onTap handler which console.logs the correct item properties even for currently hidden items.

Which platform(s) does your issue occur on?

Android (haven’t tried iOS)

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

  • CLI: 3.2.1
  • Cross-platform modules: 3.2.0
  • Runtime(s): tns-androd: 3.2.0
  • Plugin(s): (look for the version number in the package.json file of your project)
"dependencies": {
    "moment": "^2.18.1",
    "nativescript-theme-core": "~1.0.2",
    "tns-core-modules": "^3.2.0",
    "underscore": "^1.8.3"
  }

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

Use this repo to launch the app and then scroll down/up. There’s a gif in the repo showing the problem.

Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.

Check:

<bountysource-plugin>

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource. </bountysource-plugin>

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:1
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
tsonevncommented, Nov 3, 2017

Hi @jorotenev, This issue is still under review. You could keep track on the issue, for further info.

1reaction
jorotenevcommented, Oct 22, 2017

@tsonevn deleting the folders didn’t help. deleting them and setting the timeout to 100ms helped though. Thanks 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

c# - Listview items not showing - Stack Overflow
Weird...specially if the list view is showing items properly when View is set List. Not really sure whast going on but somewhere in...
Read more >
ListView items added but not showing up. - MSDN - Microsoft
This is a windows form. I have a list view and have added items to it, but they are not showing up. The...
Read more >
Thread: [resolved] - ListView items are not visible - VBForums
I am filling a ListView with the code below. For some reason the listview appears to be empty but it has all the...
Read more >
listview and listbox don't display items - CodeProject
OwnerDraw (property) set to false? You can easily, when moving about the properties windows of your listview, click OwnerDraw which is normally ...
Read more >
ListView class - widgets library - Flutter - Dart API docs
The default constructor takes an explicit List<Widget> of children. This constructor is appropriate for list views with a small number of children because ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found