Many times I have seen that the code in MeasureOverride
and ArrangeOverride
is same excepts calling measure and arrange in respective methods and a bit of additional logic like animation etc for each item in ArrangeOverride
.
Would it not be simple if you just have a method to pass your logic of measuring at one place and layout system remembers that and have an event when each item is about to add and you apply the additional logic of animation etc?
Am I missing anything?