List view edittext data loses on scrolling in Android
问题 I want the listview having 2 edittexts to preserve the values even after becoming invisible after scrolling. And when the edittext losses focus, I want each edittext value to be saved in a arraylist (2 arraylist - one for quantites and one for prices), which I can later save to the database. I tried having the code in the OntextChanegd method, but it doesn't seem right. public class CustomAdapter extends BaseAdapter { ArrayList<String> names; Context context; ArrayList<String> itemPrices =