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 save suggestion history? #132

Open
langaliamayank opened this issue Apr 27, 2018 · 8 comments
Open

How to save suggestion history? #132

langaliamayank opened this issue Apr 27, 2018 · 8 comments
Assignees

Comments

@langaliamayank
Copy link

Hello. While we click on any suggestion suggestion save successfully. but when we closed application and reopen searchview not showing history what should i do ? please suggest me

@Mauker1
Copy link
Owner

Mauker1 commented May 2, 2018

Hello,

Can you elaborate? You're searching for an item that's on the suggestion list, and you want it to show on the search history later on?

@langaliamayank
Copy link
Author

langaliamayank commented May 3, 2018 via email

@Mauker1
Copy link
Owner

Mauker1 commented May 3, 2018

Ok, now I got it. I'll take a look into it to see if I can reproduce this behavior.

@Mauker1 Mauker1 self-assigned this May 3, 2018
@Mauker1
Copy link
Owner

Mauker1 commented May 4, 2018

Just for sanity check, can you share the part of your code where you setup the search view?

@Mauker1
Copy link
Owner

Mauker1 commented May 8, 2018

I've tested it with a sample app, and I was unable to reproduce what you described. Since there's an option to disable the search history, are you sure you didn't call setShouldKeepHistory(false)?

Another possibility is that you're clearing the database at some point on your app.

@langaliamayank
Copy link
Author

langaliamayank commented May 10, 2018 via email

@Mauker1
Copy link
Owner

Mauker1 commented May 10, 2018

Yes, I understand, and I have also tested that. I couldn't reproduce the issue. Can you share your code?

@langaliamayank
Copy link
Author

langaliamayank commented May 11, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants