react-native-ultimate-listview icon indicating copy to clipboard operation
react-native-ultimate-listview copied to clipboard

The "abortFetch()" method does not stop pagination

Open rogoja opened this issue 7 years ago • 1 comments

"react-native": "^0.46.4" "react-native-ultimate-listview": "^3.2.1"

The "abortFetch()" method does not stop pagination

Gif: ezgif_com_video_to_gif_1 Code:

onFetch = async (page = 1, startFetch, abortFetch) => {
        this.connection((data) => {
            this.nextOffset = data._meta.nextOffset;
            startFetch(data.items, COUNT_NEWS);
        }, this.nextOffset, COUNT_NEWS, (err) => {
            alert(err.message);
            abortFetch();
        });
    };

rogoja avatar Sep 14 '17 15:09 rogoja

Yes still causes same key extractor error because of it.

alkanyunus avatar Oct 08 '17 19:10 alkanyunus