Search code examples
androidlistviewandroid-edittextandroid-textinputedittext

How to show the text from edit text input layout to list view?


I am trying to get a text from edit text input layout and show the text on list view when click next edit text drop down button. Like this

image


Solution

  • Edittext.getText.ToString() will give you the entered text in editText.

    And for drop down you should use Spinner.