I am having customized ListView which contains 30 items, when i long press the particular item i want to hide that particular item and display the some xml view in that particular item till upto long pressed and when i release my finger from that item it must show his old item (i.e. i want display previous item which was hide).
Can anyone suggest any ideas to done this task!
try this
reference:Detecting a long press with Android
note:link may destroy so code is pasted. in your switch of onitemlongclick or onitemclick
hope it works.