I know that familiar question exist my is a little different. I'm implementing ListView on android. This method should color item when it clicked.
@Override
protected void onListItemClick(ListView l, View v, int position, longid) {
super.onListItemClick(l, v, position, id);
Language lng = lng.get(position);
l.getChildAt(position).setBackgroundColor(Color.GREEN);
}
My problem is that when i click on item some other items are get colored to. why is that happens?