Skip to content

a adapter utility to provide syntax highlighted suggestion from provided set of strings

Notifications You must be signed in to change notification settings

csguys/multiwordsuggestion

Repository files navigation

multiwordsuggestion

a simple adapter class which will provide prefix based search suggestion from provided suggestions list with syntax highlighting

Getting Started

just add the util package into your project and start using the adapter class for AutoCompleteTextView and RecyclerView

Demo

demo

usage

For AutoCompleteTextView

 List<String> list = // your suggestion list data
 PrefixSearchAutoCompleteAdapter adapter = new PrefixSearchAutoCompleteAdapter(context, list, Color.YELLOW);
 autoCompleteTextViewObject.setAdapter(adapter);

For RecyclerView

 List<String> list = // your suggestion list data
 PRecyclerPrefixSearchAdapter adapter = new RecyclerPrefixSearchAdapter(context, list, Color.YELLOW);
 recyclerviewObject.setAdapter(adapter);

About

a adapter utility to provide syntax highlighted suggestion from provided set of strings

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages