About UI feature unlocking, UI effects animation, UI tips re-thinking

Source: Internet
Author: User

Before writing an article like this, but the idea of the feasibility is too low, and recently thought about the PureMVC of the news mechanism, a flash of light, it seems that can be based on the message to achieve the three. Of course, it doesn't have much to do with PureMVC, the UML diagram is pretty complicated.

First, all UI panels are notified by sending a string message whether to trigger an understanding of lock detection, tips detection, and animation effects. Can be understood as such an interface:

AsyncResult senduimessage (String message);

AsyncResult is a class that I define, specifically to get asynchronous results. This will return the asynchronous callback that the effect animation has finished playing.

In addition to special effects, tips and lock detection do not need to use the return value.

Finally, in addition to UI effects, you can attach these things to a dedicated node and drive through the UI messages.

About UI feature unlocking, UI effects animation, UI tips re-thinking

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.