Open yt-ms opened 3 years ago
Given animations also are supported in the (currently experimental) CustomView
in Java which doesn't extend StaticView
, then perhaps this should be implemented in Python as a mixin (both View and IO) which can be used by both.
Checklist
Is your feature related to a problem? Please describe it.
Following PR #77, the last remaining part of the API needed to complete the big_bank.py example is being able to add animations to static views.
Describe the solution you would like.
Mirroring the Java implementation,, we should add an
add_animation()
method toStaticView
which accepts a variable number of elements, and copy the logic from Java. The serialisation and deserialisation of animation data has already been done, so it's just about being able to add animations programmatically.