1

setbackground issue in getview of listview

view story
linux-howto

http://stackoverflow.com – Based on the position , I need to change the background color of a textview in a listview. only if the position is 1 I need to have the background color as red, else there should not be any background color. Here is my getview, for the first position I'm getting the color as red, but for other positions, the background color is changing on scrolling the listview up and down @Override public View getView(final int position, View convertView, ViewGroup parent) { // TODO Auto-generated method stub if (convertView == null) { convertVi (HowTos)