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

How to load more if i write the load more function with Stream #13

Open
KingWu opened this issue Aug 26, 2019 · 0 comments
Open

How to load more if i write the load more function with Stream #13

KingWu opened this issue Aug 26, 2019 · 0 comments

Comments

@KingWu
Copy link

KingWu commented Aug 26, 2019

Hi, i write a Bloc with Rx pattern. The loadMore function required to return Future.

class LoadMoreBloc {
void loadMoreFeed() {
  // API.loadFeed().listen();    <--- how do i convert it into Future?
}
}

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

1 participant