I have a ListView
.
I'm using anArrayAdapter
and I'd like to:
when the user clicks any item on the list, its LinearLayout
(is just a content for x information) fades out and is substituted by other LinearLayout
(with y information) which fades in.
However, I do not know how to apply this on my ArrayAdapter
. I've searched for a while but I'm not understanding how can I access a single item from the Adapter
and make it's children fade out or fade in.
Any help would be very appreciated. Thank you very much for your time.