Search in sources :

Example 1 with SwingRightInAnimationAdapter

use of com.nhaarman.listviewanimations.appearance.simple.SwingRightInAnimationAdapter in project ListViewAnimations by nhaarman.

the class AppearanceExamplesActivity method setBottomRightAdapter.

private void setBottomRightAdapter() {
    mAnimAdapter = new SwingBottomInAnimationAdapter(new SwingRightInAnimationAdapter(mAdapter));
    mAnimAdapter.setAbsListView(getListView());
    getListView().setAdapter(mAnimAdapter);
}
Also used : SwingRightInAnimationAdapter(com.nhaarman.listviewanimations.appearance.simple.SwingRightInAnimationAdapter) SwingBottomInAnimationAdapter(com.nhaarman.listviewanimations.appearance.simple.SwingBottomInAnimationAdapter)

Example 2 with SwingRightInAnimationAdapter

use of com.nhaarman.listviewanimations.appearance.simple.SwingRightInAnimationAdapter in project cardslib by gabrielemariotti.

the class AnimateStaggeredGridFragment method setBottomRightAdapter.

/**
     * Bottom-right animation
     */
private void setBottomRightAdapter() {
    AnimationAdapter animCardArrayAdapter = new SwingBottomInAnimationAdapter(new SwingRightInAnimationAdapter(mCardArrayAdapter));
    setCommonAnimation(animCardArrayAdapter);
    animCardArrayAdapter.setAbsListView(staggeredView);
    staggeredView.setExternalAdapter(animCardArrayAdapter, mCardArrayAdapter);
}
Also used : SwingRightInAnimationAdapter(com.nhaarman.listviewanimations.appearance.simple.SwingRightInAnimationAdapter) SwingBottomInAnimationAdapter(com.nhaarman.listviewanimations.appearance.simple.SwingBottomInAnimationAdapter) SwingRightInAnimationAdapter(com.nhaarman.listviewanimations.appearance.simple.SwingRightInAnimationAdapter) SwingLeftInAnimationAdapter(com.nhaarman.listviewanimations.appearance.simple.SwingLeftInAnimationAdapter) ScaleInAnimationAdapter(com.nhaarman.listviewanimations.appearance.simple.ScaleInAnimationAdapter) AlphaInAnimationAdapter(com.nhaarman.listviewanimations.appearance.simple.AlphaInAnimationAdapter) AnimationAdapter(com.nhaarman.listviewanimations.appearance.AnimationAdapter) SwingBottomInAnimationAdapter(com.nhaarman.listviewanimations.appearance.simple.SwingBottomInAnimationAdapter)

Example 3 with SwingRightInAnimationAdapter

use of com.nhaarman.listviewanimations.appearance.simple.SwingRightInAnimationAdapter in project cardslib by gabrielemariotti.

the class ListViewGridAnimationsFragment method setRightAdapter.

/**
     * Right animation
     */
private void setRightAdapter() {
    AnimationAdapter animCardArrayAdapter = new SwingRightInAnimationAdapter(mCardArrayAdapter);
    animCardArrayAdapter.setAbsListView(mListView);
    mListView.setExternalAdapter(animCardArrayAdapter, mCardArrayAdapter);
}
Also used : SwingRightInAnimationAdapter(com.nhaarman.listviewanimations.appearance.simple.SwingRightInAnimationAdapter) SwingRightInAnimationAdapter(com.nhaarman.listviewanimations.appearance.simple.SwingRightInAnimationAdapter) SwingLeftInAnimationAdapter(com.nhaarman.listviewanimations.appearance.simple.SwingLeftInAnimationAdapter) ScaleInAnimationAdapter(com.nhaarman.listviewanimations.appearance.simple.ScaleInAnimationAdapter) AlphaInAnimationAdapter(com.nhaarman.listviewanimations.appearance.simple.AlphaInAnimationAdapter) AnimationAdapter(com.nhaarman.listviewanimations.appearance.AnimationAdapter) SwingBottomInAnimationAdapter(com.nhaarman.listviewanimations.appearance.simple.SwingBottomInAnimationAdapter)

Example 4 with SwingRightInAnimationAdapter

use of com.nhaarman.listviewanimations.appearance.simple.SwingRightInAnimationAdapter in project cardslib by gabrielemariotti.

the class ListViewGridAnimationsFragment method setBottomRightAdapter.

/**
     * Bottom-right animation
     */
private void setBottomRightAdapter() {
    AnimationAdapter animCardArrayAdapter = new SwingBottomInAnimationAdapter(new SwingRightInAnimationAdapter(mCardArrayAdapter));
    animCardArrayAdapter.setAbsListView(mListView);
    mListView.setExternalAdapter(animCardArrayAdapter, mCardArrayAdapter);
}
Also used : SwingRightInAnimationAdapter(com.nhaarman.listviewanimations.appearance.simple.SwingRightInAnimationAdapter) SwingBottomInAnimationAdapter(com.nhaarman.listviewanimations.appearance.simple.SwingBottomInAnimationAdapter) SwingRightInAnimationAdapter(com.nhaarman.listviewanimations.appearance.simple.SwingRightInAnimationAdapter) SwingLeftInAnimationAdapter(com.nhaarman.listviewanimations.appearance.simple.SwingLeftInAnimationAdapter) ScaleInAnimationAdapter(com.nhaarman.listviewanimations.appearance.simple.ScaleInAnimationAdapter) AlphaInAnimationAdapter(com.nhaarman.listviewanimations.appearance.simple.AlphaInAnimationAdapter) AnimationAdapter(com.nhaarman.listviewanimations.appearance.AnimationAdapter) SwingBottomInAnimationAdapter(com.nhaarman.listviewanimations.appearance.simple.SwingBottomInAnimationAdapter)

Example 5 with SwingRightInAnimationAdapter

use of com.nhaarman.listviewanimations.appearance.simple.SwingRightInAnimationAdapter in project cardslib by gabrielemariotti.

the class AnimateStaggeredGridFragment method setRightAdapter.

/**
     * Right animation
     */
private void setRightAdapter() {
    AnimationAdapter animCardArrayAdapter = new SwingRightInAnimationAdapter(mCardArrayAdapter);
    setCommonAnimation(animCardArrayAdapter);
    animCardArrayAdapter.setAbsListView(staggeredView);
    staggeredView.setExternalAdapter(animCardArrayAdapter, mCardArrayAdapter);
}
Also used : SwingRightInAnimationAdapter(com.nhaarman.listviewanimations.appearance.simple.SwingRightInAnimationAdapter) SwingRightInAnimationAdapter(com.nhaarman.listviewanimations.appearance.simple.SwingRightInAnimationAdapter) SwingLeftInAnimationAdapter(com.nhaarman.listviewanimations.appearance.simple.SwingLeftInAnimationAdapter) ScaleInAnimationAdapter(com.nhaarman.listviewanimations.appearance.simple.ScaleInAnimationAdapter) AlphaInAnimationAdapter(com.nhaarman.listviewanimations.appearance.simple.AlphaInAnimationAdapter) AnimationAdapter(com.nhaarman.listviewanimations.appearance.AnimationAdapter) SwingBottomInAnimationAdapter(com.nhaarman.listviewanimations.appearance.simple.SwingBottomInAnimationAdapter)

Aggregations

SwingRightInAnimationAdapter (com.nhaarman.listviewanimations.appearance.simple.SwingRightInAnimationAdapter)12 SwingBottomInAnimationAdapter (com.nhaarman.listviewanimations.appearance.simple.SwingBottomInAnimationAdapter)11 AnimationAdapter (com.nhaarman.listviewanimations.appearance.AnimationAdapter)10 AlphaInAnimationAdapter (com.nhaarman.listviewanimations.appearance.simple.AlphaInAnimationAdapter)10 ScaleInAnimationAdapter (com.nhaarman.listviewanimations.appearance.simple.ScaleInAnimationAdapter)10 SwingLeftInAnimationAdapter (com.nhaarman.listviewanimations.appearance.simple.SwingLeftInAnimationAdapter)10