Public afterTextChanged
// needed for interface, but not used
This time, our activity implements , which means our callbacks are and . In this case, we are only interested in the former, and we update the selection label to match the ’s current contents.
Figures 8‑6, 8‑7, and 8‑8 show the application results.
Figure 8‑6. The AutoCompleteDemo sample application, as initially launched
Figure 8‑7. The same application, after a few matching letters were entered, showing the auto‑complete drop‑down
Figure 8‑8. The same application, after the auto‑complete value was selected
Дата добавления: 2015-05-16; просмотров: 861;