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?
- <? XML version= "1.0" encoding="Utf-8"?>
- <resources>
- <!--Android.widget.AbsListView can be used for animation effects--
- <declare-styleable name="Jazzylistview" >
- <attr name="effect" format="enum" >
- <!---->
- <enum name="standard" value="0" />
- <!--growth, from small to large--
- <enum name= "grow" value="1" />
- <!--card Open
- <enum name= "cards" value="2" />
- <!--coiled at left, right--
- <enum name="Curl" value="3" />
- <!--waves: Left to right ---
- <enum name="Wave" value="4" />
- <!--bounce- up
- <enum name="Flip" value="5" />
- <!--type card, fly-to-roll
- <enum name="Fly" value="6" />
- <!--with the above class, reversed---
- <enum name= "reverse_fly" value="7" />
- <!--Helix --
- <enum name= "Helix" value="8" />
- <!--fan Flare -up
- <enum name="Fan" value="9" />
- <!--tilt, looks like a busty effect .
- <enum name="Tilt" value= "ten" />
- <!--Zipper, right and left-
- <enum name="Zipper" value=" One"/>
- <!--light to Bright
- <enum name="Fade" value=" /> "
- <!--rotate --
- <enum name="twirl" value=" /> "
- <!--sliding--
- <enum name="slide_in" value= " /> "
- </attr>
- <!--only animated on new item --
- <attr name="Only_animate_new_items" format="boolean" />
- <!--only animated when flying
- <attr name="only_animate_fling" format="boolean" />
- <!---->
- <attr name="simulate_grid_with_list" format="boolean" />
- <!--maximum rate --
- <attr name="max_velocity" format="integer" />
- </declare-styleable>
- </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