Open vicianm opened 10 years ago
Please could you explain with a bit more detail this fix? I'm really interested in it but i have no idea where are some functions like initColumnTops() or calculateColumnWidth in the original SGV. Could you post the whole code please??
just comment these lines didn't work for me :/ The problem occurs only if pull down the list when it is already on the last child. So all the itens disapears or gets messy
How to reproduce the problem:
Place SGV e.g. inside LinearLayout together with button B.
When button B is clicked change visibility of B to GONE. This way the SGV dimension is increased but SGV children are not layed out properly.
Quick (dirty) fix: recalculate mColumnTops/Bottoms/Lefts each time SGV.onMeasure() is called: