Open xarlotie opened 9 years ago
i just did this. Works fine for me now.
if (!visible) {
int movement = target.getBottom();
listView.smoothScrollBy(movement, getAnimationDuration());
} else {
if (r2.bottom == r.bottom) {
int movement = target.getTop();
listView.smoothScrollBy(movement, getAnimationDuration());
}
}
i have tried your code "better scroll animation when items expands" but no change ...the expandable list is still hiding up.....can i get any alternate code for dat
When you click on the second item in the list, the list scrolls the expandable for item 2 but the only visible part is the bottom of the expandable which is as tall as one item in the list. The whole expandable should be visible or at least it should scroll to the top of the expandable.
Am I making any sense here? Sorry if I'm explaining it badly.