Skip to content

RadListView iOS LoadMoreItems doesn't work without setTimeout #1329

Open
@shiv19

Description

@shiv19

Please, provide the details below:

Tell us about the problem

When using a RadListView with loadMoreItems, calling listView.notifyLoadOnDemandFinished(); outside a setTimeout makes it not work on iOS (works fine on Android), on iOS, the spinner keeps spinning until you tap on it.

Which platform(s) does your issue occur on?

iOS only

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

Reproducible on Playground

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

https://play.nativescript.org/?template=play-tsc&id=UjvFm4
Run this on iOS,
scroll down, and you'll see that the spinner keeps spinning until you tap on it.

home-view-model.ts
line 35, if you uncomment that setTimeout, then load more items works as expected.

On Android, it works fine, with or without the setTimeout :)

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