Android Listview's Items expansion and contraction -


i have items in listview.when click item,it expands(i make layouts visible in setonitemclicklistener() method).

now want when click on someother items,the previous 1 should return original state.

i have done conditional checking , has made work.but whenever scroll down , list recycles shows deviation desired outcome.

note : know can done expandablelistview.but can tell me how listview keeping recycling parameter in view.


Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -