Android custom ArrayAdapter getView method called multiple times - resetting dynamic TextView value
问题 The getView method in my custom ArrayAdapter is getting called multiple times, which I assume it is meant to. Problem is, I have a quantity TextView which is dynamically set but when you scroll and the box goes off screen the value disappears. I am not sure what I am doing wrong and Google is not proving to be much help. Hopefully someone here can help me. The adapater is called: adapter = new MenuAdapter(thisActivity, R.layout.menu, list); setListAdapter(adapter); My Custom ArrayAdapter: