[Solved] How it is possible 5 different colors of each row in listview if items are more then ten in listview in Android? [closed]


row.setBackgroundColor(color_arr[position % color_arr.length]);

solved How it is possible 5 different colors of each row in listview if items are more then ten in listview in Android? [closed]