Skip to content

[RadListView] - iOS list view items are loaded twice. #1343

Open
@ejaszke

Description

@ejaszke

Tell us about the problem

We have problem with RadListView on iOS, (loaded) event is called twice on every list item.
So, if we use Angular component as item template ngOnInit is also called twice.

Which platform(s) does your issue occur on?

iOS
Android is fine

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

  • "nativescript-ui-listview": "8.0.1",
  • CLI: 6.3.3
  • Cross-platform modules: ~6.3.0,
  • Runtime(s): 6.3.0

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

Run simple RadListView with one item array, every item is loaded twice.

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

<RadListView [items]="[1]">
        <ng-template tkListItemTemplate let-item="item">
            <StackLayout (loaded)="loaded()">
                <Label text="test"></Label>
            </StackLayout>
        </ng-template>
</RadListView>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions