I need to dynamically change the background color of a child view of a ListView at a specific index. So I need to get the view first before applying the background.
I have tried the following.
getViewAt(int index) - this is not applicable to ListView.
getChildAt(int index) - this gives runtime NPE error
A Google search returns irrelevant results.
Please help me out. Thank you.