This example will show you how to use android.support.v7.widget.SearchView class to add a search box and implement autocomplete function for the search box. It also demos how to use android.support.v7.widget.ShareActionProvider to open the share application list for your android application. You can see the example demo video at the end of this article.
android.widget.MultiAutoCompleteTextView class is used to implement multiple auto-complete input text control in android applications. It behaves similar to the class android.widget.AutoCompleteTextView, the difference is that it can let you input text with autocomplete function multiple times. Each text in the input text box is separated by a specified token string.
There are a lot of auto-complete scenarios in the android app. For example, when you use a search engine, you input some characters in the search box then a list of search keywords will pop up. It is not difficult to achieve. This example will show you how to do this use android.widget.AutoCompleteTextView component.