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

Is there anyway to remove the RxDart dependency? #18

Closed
abdhoms opened this issue Jul 2, 2020 · 3 comments
Closed

Is there anyway to remove the RxDart dependency? #18

abdhoms opened this issue Jul 2, 2020 · 3 comments

Comments

@abdhoms
Copy link

abdhoms commented Jul 2, 2020

I see that it uses PublishSubject. Is there any alternative for this without using RxDart? Like using StreamController perhaps?

 final PublishSubject<bool> _loadingMoreSubject = PublishSubject<bool>();
  Stream<bool> _loadingMoreStream;

  IncrementallyLoadingListViewState() {
    _loadingMoreStream =
        _loadingMoreSubject.switchMap((shouldLoadMore) => loadMore());
  }

It's just that I don't want to add RxDart to my app just for this ListView.

@MaikuB
Copy link
Owner

MaikuB commented Jul 2, 2020

From memory, no but it's open source so you can try it out yourself

@boatengyeboah
Copy link

@MaikuB are you able to upgrade the rxdart dependency? I have some projects that require higher version of whats in this library.

@MaikuB
Copy link
Owner

MaikuB commented Jul 12, 2020

@boatengyeboah in case you haven't seen it, there's a note in the readme that you can use dependency overrides. You can submit a PR as well

@MaikuB MaikuB closed this as completed Jun 20, 2021
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