svelte-native
svelte-native copied to clipboard
listview questions
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?
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.