Android App Development
iOS App Development
Flutter App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 3.0.3.7 release ready!
Deniel Kerr
Founder. Opencart
Top Partners
In android, we can provide suggestions to user on serach. The custom suggestions are the suggestions that you provide the application rather than the suggestions based on user history.
So the data for the suggestions can be either from data of your application or from network. Here we are going to add the data from our network based on the input text in the search box. We are performing search using search dailog in action bar. Set up search in menu of your activity as:
Now set the searchable.xml file which we will store in res/xml folder
Now inflate the menu and add suggestions to your search dailog
And by this you can get your search suggestion from network.
Your email address will not be published. Required fields are marked*
Name*
Email*
Save my name email and website in this browser for the next time I comment.
We use cookies to personalize your experience. By continuing to visit this website you agree to our use of cookies. Learn more about privacy policy
Name
Email
Subject
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.