Comment obtenir l'index du texte sélectionné dans un AutoCompleteTextView

AutoCompleteTextView mActv = (AutoCompleteTextView) findViewbyId(R.id.m_actv);
ArrayAdapter<String> AutoCompleteAdapter = new ArrayAdapter<String>(this,
                    R.layout.dropdown_text, Names);
mActv.setAdapter(AutoCompleteAdapter);

Noms est un tableau de chaînes.

Est-il possible d'obtenir le indice du texte sélectionné dans la liste déroulante??

Merci.

source d'informationauteur Archie.bpgc