Problem when using a tablelayout within Listview

0

I'm using a custom adapter where I have a .xml where% is% Co and% .xml where I have my view .

In my view file enter a ListView and within it TableLayouṭ to accommodate my controls inside, the problem is that when I run my application and I get to that point it shows me my information as a list but the TAP event is lost If I click on some Item in the list, it does not respond anymore.

    
asked by Hugo Rodriguez 06.05.2016 в 16:43
source

1 answer

1

The problem is that the tap is mixed. to the items on your list add them.

item.getParent().requestDisallowInterceptTouchEvent(true);

and this will deactivate the touch of the list and will give way to what is inside. Of course you could have a problem moving the list from top to bottom. So, look carefully where you activate the code. If you want more help you should write the code so that we understand better. :)

    
answered by 23.06.2016 в 09:19