Android Abslistview the Item Animation class library--jazzylistview

Source: Internet
Author: User

Https://github.com/twotoasters/JazzyListView/tree/master/sample

Github:https://github.com/twotoasters/jazzylistview

The use of this class library is still very simple, the introduction of its library, using the library defined in the ListView and the GridView can be.

If you need to customize an animation effect, implement a jazzyeffect and add it to the Jazzyhelper.

The custom attribute inside

[HTML]View PlainCopyprint?
  1. <? XML version= "1.0" encoding="Utf-8"?>
  2. <resources>
  3. <!--Android.widget.AbsListView can be used for animation effects--
  4. <declare-styleable name="Jazzylistview" >
  5. <attr name="effect" format="enum" >
  6. <!---->
  7. <enum name="standard" value="0" />
  8. <!--growth, from small to large--
  9. <enum name= "grow" value="1" />
  10. <!--card Open
  11. <enum name= "cards" value="2" />
  12. <!--coiled at left, right--
  13. <enum name="Curl" value="3" />
  14. <!--waves: Left to right ---
  15. <enum name="Wave" value="4" />
  16. <!--bounce- up
  17. <enum name="Flip" value="5" />
  18. <!--type card, fly-to-roll
  19. <enum name="Fly" value="6" />
  20. <!--with the above class, reversed---
  21. <enum name= "reverse_fly" value="7" />
  22. <!--Helix --
  23. <enum name= "Helix" value="8" />
  24. <!--fan Flare -up
  25. <enum name="Fan" value="9" />
  26. <!--tilt, looks like a busty effect .
  27. <enum name="Tilt" value= "ten" />
  28. <!--Zipper, right and left-
  29. <enum name="Zipper" value=" One"/>
  30. <!--light to Bright
  31. <enum name="Fade" value=" /> "
  32. <!--rotate --
  33. <enum name="twirl" value=" /> "
  34. <!--sliding--
  35. <enum name="slide_in" value= " /> "
  36. </attr>
  37. <!--only animated on new item --
  38. <attr name="Only_animate_new_items" format="boolean" />
  39. <!--only animated when flying
  40. <attr name="only_animate_fling" format="boolean" />
  41. <!---->
  42. <attr name="simulate_grid_with_list" format="boolean" />
  43. <!--maximum rate --
  44. <attr name="max_velocity" format="integer" />
  45. </declare-styleable>
  46. </Resources>
These properties can be set to the ListView, the GridView, or in XML using code.

Top
0

Item Animation class library for Android Abslistview--jazzylistview

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.