ReactiveX / rxdart

The Reactive Extensions for Dart
http://reactivex.io
Apache License 2.0
3.37k stars 270 forks source link

Is there a pagination example for consuming a REST API? #460

Closed vinkaga closed 4 years ago

vinkaga commented 4 years ago

I have seen a lot of examples but none of them retrieve data from a backend API and provide those values to the stream. More specifically, I am looking to find

  1. How to signal to the stream to fetch more data.
  2. How to handle retries if they are needed.

Thanks.

hoc081098 commented 4 years ago

My repo :)) https://github.com/hoc081098/load_more_flutter_BLoC_pattern_RxDart_and_RxRedux/blob/master/lib/pages/simple/simple_people_bloc.dart

Functionality

vinkaga commented 4 years ago

Thanks @hoc081098!