PareshMayani / Flutter-Friends

An example flutter/dart application showing list of friends and profile screen. Demoing usage of ListView, ListTile, CircleAvatar, CircularProgressIndicator
Apache License 2.0
26 stars 6 forks source link

Flutter - Why listview is going infinite #1

Open PareshMayani opened 6 years ago

PareshMayani commented 6 years ago

Not sure since I have just started building things with Flutter and Dart. If anyone can take a look at the code and can share inputs on:

Issue: In current implementation, I am finding 2 issues:

  1. Able to scroll endlessly at bottom
  2. Finding exception in logcat output:

03-15 06:14:36.464 3938-3968/com.technotalkative.flutterfriends I/flutter: Another exception was thrown: RangeError (index): Invalid value: Not in range 0..99, inclusive: 100

Screenshot: screenshot_1521095404

ysavr commented 5 years ago

you can use pagination using pagewise https://pub.dev/packages/flutter_pagewise

rahul-badgujar commented 3 years ago

I have solved the issue with Infinite Scrolling Lists, sent a PR.... have a look