Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No animation when reached to bottom. #2

Open
amangautam1 opened this issue Sep 23, 2019 · 2 comments
Open

No animation when reached to bottom. #2

amangautam1 opened this issue Sep 23, 2019 · 2 comments

Comments

@amangautam1
Copy link

There should be some indicator to show that more items are loading or list has been finished.

@nathanael540
Copy link

Hi,
I used myself code for do this.

I show thats the end, on loadmore function adding an element to widget's list that says "The END";

return Container( height: MediaQuery.of(context).copyWith().size.height, child: Column( children: <Widget>[ Expanded( child: LazyLoadScrollView( onEndOfPage: _loadMais, isLoading: isLoading, scrollOffset: 5, child: ListView( children: tela), ), ), Container( child: (isLoading && !fim) ? Padding(padding: EdgeInsets.all(20), child: new CircularProgressIndicator()) : new Row() ) ], ), );

And on build layout I add on logic to show Loading indicator.

@Saifallak
Copy link

Saifallak commented May 1, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants