QuirijnGB / lazy-load-scrollview

A wrapper for a Flutter ScrollView which enables lazy loading
BSD 2-Clause "Simplified" License
108 stars 26 forks source link

Add support for RefreshIndicator #5

Closed mbartn closed 4 years ago

mbartn commented 4 years ago

This change makes the use of RefreshIndicator with LazyLoadScrollView possible.

E.g.

LazyLoadScrollView(
      onEndOfPage: () {
        //...
      },
      child: RefreshIndicator(
        onRefresh: () async {
          print('On refresh');
          return;
        },
        child: ListView.builder(
            //...
            ),
      ),
    );
QuirijnGB commented 4 years ago

Heya! Thanks for that! Ill have a look into it tonight and get it merge in asap!