realblue Member Licensed User Longtime User May 25, 2014 #1 Hi everybody, I have the attached layout. In this layout I have scrollview which holds type A panels which they also hold type B panels. Number of panels are varies. What I need is to remove type B panel with an animation like fade first and scroll up all the panels below. Of course if all the type B panels removed from the type A panel I want to animate the removal of that panel too. So what is the proper and easy way to achieve this remove panel animation. Thanks in advance.
Hi everybody, I have the attached layout. In this layout I have scrollview which holds type A panels which they also hold type B panels. Number of panels are varies. What I need is to remove type B panel with an animation like fade first and scroll up all the panels below. Of course if all the type B panels removed from the type A panel I want to animate the removal of that panel too. So what is the proper and easy way to achieve this remove panel animation. Thanks in advance.
Erel B4X founder Staff member Licensed User Longtime User May 25, 2014 #2 I recommend you to check CustomListView class. It allows you to remove items. You will need to add the animation. Upvote 0
I recommend you to check CustomListView class. It allows you to remove items. You will need to add the animation.
realblue Member Licensed User Longtime User May 25, 2014 #3 Hi Erel, I am able to remove the panel from the scrollview. But when I remove the panel there happens a big whole in the scrollview so I need to scroll all the other panels up. I tried animation library. It animates the panel being removed but somehow in the "AnimationEnd" sub I get java exception error and still I need to scroll up. Does CustomListView have a way of animating when I remove an object? Upvote 0
Hi Erel, I am able to remove the panel from the scrollview. But when I remove the panel there happens a big whole in the scrollview so I need to scroll all the other panels up. I tried animation library. It animates the panel being removed but somehow in the "AnimationEnd" sub I get java exception error and still I need to scroll up. Does CustomListView have a way of animating when I remove an object?
LucaMs Expert Licensed User Longtime User May 25, 2014 #4 CustomListView is a Class, then source code. You can add the animation. Upvote 0