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

In SearchActivity error? #31

Open
DmitrySoloviyev opened this issue Mar 15, 2018 · 2 comments
Open

In SearchActivity error? #31

DmitrySoloviyev opened this issue Mar 15, 2018 · 2 comments

Comments

@DmitrySoloviyev
Copy link

When I click on keyboard button "actionSearch" observer call "onComplete" and observable do not react on text changed event.

@Vignesh150493
Copy link
Contributor

@amitshekhariitbhu Yes. The observer(subject) completes in onQueryTextSubmit, and then subsequent onNext calls dont work.
Any action performed, after text submission dosent work.
Maybe onComplete should not be called in onQueryTextSubmit?

@amitshekhariitbhu
Copy link
Owner

As the current project is just a sample project. But yes, we can make it better here. There are two ways to do it.

  • Do not call onComplete.
  • Another solution can be resubscribe on it.

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