Preventing Multi Touch from touching two items in the ListView at the same time

1

I'm developing a Sales / Budgets app, and I'm having a problem with a custom listview , where the user is able to click 2 lines at the same time, 2 times the events and causing exception in the database. I need to disable this multitouch , does anyone know how I can do this?

Here is an print of the application:

    
asked by anonymous 20.11.2014 / 19:07

1 answer

1

Try using splitMotionEvents in the layout of your ListView :

android:splitMotionEvents="false"
    
20.11.2014 / 19:31