Pierre Hébert​ you said the new draw implementation might enable easy animating. Any progress / insights on that?

Pierre Hébert​ you said the new draw implementation might enable easy animating. Any progress / insights on that?

]]>

3 Commentsto Pierre Hébert​ you said the new draw implementation might enable easy animating. Any progress / insights on that?

  1. Anonymous says:

    < ![CDATA[

    This is not official but you should now be able to use the standard android APIs, for instance item.getRootView().startAnimation(whatever_anim) ;


    It wasn’t working before 12.9b1. I am looking for some way to expose this more conveniently and in particular to define the triggers for these animations.

    ]]>

  2. Anonymous says:

    < ![CDATA[

    Has Lightning internally any concept of “pages” that could be exposed to scripts? It would be nice to animate a page as a whole.

    ]]>

  3. Anonymous says:

    < ![CDATA[

    No, there are only items with their coordinates, plus a global transformation which corresponds to pan and zoom in the container. Using the current global transformation you can map the screen coordinates into the container coordinates to know which portion is visible, then traverse items to know which ones has its bounds inside the current viewport but that’s all. Those services could be exposed to APIs though, such as getVisibleItems() or getCurrentViewport() and so on.

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *