11-06-2013 05:25 AM
I have a container with a lot of items which are all not visible, only a title label is displayed.
On touch on the label the elements of the container are all made visible.
On my Z10 (and DevAlphaB) this creates a very laggy animation (it works good on the DevAlphaC/Q10).
Is there a possibility to disable the animation for the visibility change?
Solved! Go to Solution.
11-06-2013 06:52 AM
11-06-2013 06:59 AM - edited 11-06-2013 07:03 AM
but wouldn't the item still occupy the full space with opacity 0?
I have added ImplicitAnimationControllers with all possible properties and set them to enabled=false.
This makes it a bit faster, but still too slow. For a container with 100 items it takes about 6 minutes to complete.
11-06-2013 07:11 AM
11-06-2013 08:45 AM
11-06-2013 08:52 AM
I have placed ImplicitAnimationController for all possible properties as attached objects AND set implicitLayoutAnimationsEnabled: false, to no avail.
11-07-2013 04:07 AM
I am fishing in the dark, i have no idea what causes this.
The containers that were made visible had several LayoutHandlers which were called repeatedly, but removing them has changed nothing. I also tried to cache the value given in the LayoutHandler in a property, but the property was not set on the next call, which means the calls to the LayoutHandler were all coming in at once.
Here is a screenshot of a container with 100 sub-containers made visible (the same happens with 20, only a bit less slow) :
11-07-2013 05:20 AM
11-07-2013 06:49 AM