Traditional Culture Encyclopedia - Weather forecast - How to learn Android animation efficiently

How to learn Android animation efficiently

The article animation series produced in my whole learning process-traditional view animation and attribute animation foundation and comparative animation series-detailed animation series of Property Anim-practical application animation series of Property Anim-Android animation foundation of ——View pager animation (due to the codeKK project initiated by @Trinea, In the second phase of the open source project principle analysis project Android-CN/Android-Open-Project-Analysis GitHub, many analysis projects involve animation, so this paper mainly sorts out the detailed explanation of Property anim and some knowledge in the basic article. As the second phase of animation knowledge, codeKK is definitely a super project. You can pay more attention. ) From two articles, the basis and comparison of traditional view animation and attribute animation, and the basis of android animation, we can get an overall understanding of Android animation. The detailed explanation of PropertyAnim is a special introduction to the attribute animation that appeared in 3.0, and also involves the compatibility library NineOldAndroids that JakeWharton implemented before 3.0. There are more and more ways to realize animation effects through ViewPager, and some parallax effects are really good, such as the parallax effect of Yahoo weather and the parallax of elements in Zhihu navigation interface. Their implementation principles are analyzed in detail in ViewPager animation, and some similar implementations on GitHub are also mentioned, and the differences between them are analyzed. Please refer to the article for details. The practical application of PropertyAnim mainly introduces the use of some simple APIs, the highlight of which is the introduction of many animation projects on GitHub, most of which use NineOldAndroids compatible libraries, which can be used as good learning materials. There is a very detailed introduction in the above article, so I won't say much, because some concepts, usage and principles in the article are really too detailed. Now that I think about it, it was a bit deep at that time, such as PropertyAnim's detailed explanation of this article, the introduction of ValueAnimator, Assignor and Interpolator in attribute animation, and the comparison between TimeInterpolator and TypeEvaluator. Please refer to the article for details. After reading these articles, you should have a more systematic and in-depth understanding of Android animation. Basic animation should not be difficult. Each article contains a lot of information, because in the learning process, we mainly use a lot of GitHub animation projects and refer to a lot of materials, which are mentioned at the end of the article. If you still want to advance, here are some good projects, all based on android animation, so it is not difficult to look at their source codes: