How to add an EditText to a ListView
问题 I'm looking to read some product details in from a database and then add them to a ListView. I then want on each line a qty EditText box where customer can add a qty in. How can I do this? I did a simple page but when I enter a qty and the scroll down and then back up again I loose the data or it even appears in another qty box on another row. 回答1: Okay so the first thing you will need to do is create a Row.xml file for the layout that you want each row in the list to have.. <?xml version="1