svelte-native icon indicating copy to clipboard operation
svelte-native copied to clipboard

listview questions

Open sido420 opened this issue 5 years ago • 1 comments

I wanted to use on:loadMoreItems on a listview element, but in a reverse direction ie. when the user scrolls up and hits the end then the event handler should be called.

Also, I noticed on:itemTap event handler. I tried using on:itemLongpress={onLongPressed} already but that didn't work.

How do I go about doing any of the above?

sido420 avatar Jan 25 '21 23:01 sido420

For the "pull to refresh" feature, I think RadListView has it, or you could try this plugin https://www.npmjs.com/package/@nstudio/nativescript-pulltorefresh. For LongPress, You could put the longpress event on the item cell itself instead of the listview wrapper.

halfnelson avatar Mar 01 '21 20:03 halfnelson