Overlapping items in the ListView

0

Good morning!

I have an android implementation implemented in C # . This application displays a "list view" with the products. Each product has information that can be viewed by clicking the "V" button and hidden from the customer by the "/ \" button. Information is normally displayed / hidden when the "list view" has more than 1 item. However, whenever the list view has only 1 item, the following situation occurs:

Click "V" to display the information:

Click on "/ \" to hide the information:

By pressing the "/ \" button, the "list view" should return to the original list status with 1 item. But this "overlapping" of information is occurring.

How to ensure that this "overlap" does not happen?

Important notes:

  • This problem only occurs when the list view has only 1 item.
  • The problem does not always occur, that is, even with the list view displaying 1 item, sometimes the information is hidden correctly.

Thank you in advance.

    
asked by anonymous 28.06.2017 / 15:34

0 answers