Search in sources :

Example 6 with SwingBottomInAnimationAdapter

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

the class DragDropListFragment method setBottomRightAdapter.

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

Example 7 with SwingBottomInAnimationAdapter

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

the class DragDropListFragment method setBottomAdapter.

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

Example 8 with SwingBottomInAnimationAdapter

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

the class ListViewAnimationsFragment method setBottomAdapter.

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

Example 9 with SwingBottomInAnimationAdapter

use of com.nhaarman.listviewanimations.appearance.simple.SwingBottomInAnimationAdapter 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 10 with SwingBottomInAnimationAdapter

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

the class AnimateStaggeredGridFragment method setBottomAdapter.

/**
     * Bottom animation
     */
private void setBottomAdapter() {
    AnimationAdapter animCardArrayAdapter = new SwingBottomInAnimationAdapter(mCardArrayAdapter);
    setCommonAnimation(animCardArrayAdapter);
    animCardArrayAdapter.setAbsListView(staggeredView);
    staggeredView.setExternalAdapter(animCardArrayAdapter, mCardArrayAdapter);
}
Also used : 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)

Aggregations

SwingBottomInAnimationAdapter (com.nhaarman.listviewanimations.appearance.simple.SwingBottomInAnimationAdapter)14 SwingRightInAnimationAdapter (com.nhaarman.listviewanimations.appearance.simple.SwingRightInAnimationAdapter)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 GridView (android.widget.GridView)1 ListView (android.widget.ListView)1 SwipeDismissAdapter (com.nhaarman.listviewanimations.itemmanipulation.swipedismiss.SwipeDismissAdapter)1