Search in sources :

Example 1 with SwingLeftInAnimationAdapter

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

the class ListViewGridAnimationsFragment method setLeftAdapter.

/**
     * Left animation
     */
private void setLeftAdapter() {
    AnimationAdapter animCardArrayAdapter = new SwingLeftInAnimationAdapter(mCardArrayAdapter);
    animCardArrayAdapter.setAbsListView(mListView);
    mListView.setExternalAdapter(animCardArrayAdapter, mCardArrayAdapter);
}
Also used : SwingLeftInAnimationAdapter(com.nhaarman.listviewanimations.appearance.simple.SwingLeftInAnimationAdapter) 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 2 with SwingLeftInAnimationAdapter

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

the class AnimateStaggeredGridFragment method setLeftAdapter.

/**
     * Left animation
     */
private void setLeftAdapter() {
    AnimationAdapter animCardArrayAdapter = new SwingLeftInAnimationAdapter(mCardArrayAdapter);
    setCommonAnimation(animCardArrayAdapter);
    animCardArrayAdapter.setAbsListView(staggeredView);
    staggeredView.setExternalAdapter(animCardArrayAdapter, mCardArrayAdapter);
}
Also used : SwingLeftInAnimationAdapter(com.nhaarman.listviewanimations.appearance.simple.SwingLeftInAnimationAdapter) 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 SwingLeftInAnimationAdapter

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

the class ListViewAnimationsFragment method setLeftAdapter.

/**
     * Left animation
     */
private void setLeftAdapter() {
    AnimationAdapter animCardArrayAdapter = new SwingLeftInAnimationAdapter(mCardArrayAdapter);
    animCardArrayAdapter.setAbsListView(mListView);
    if (mListView != null) {
        mListView.setExternalAdapter(animCardArrayAdapter, mCardArrayAdapter);
    }
}
Also used : SwingLeftInAnimationAdapter(com.nhaarman.listviewanimations.appearance.simple.SwingLeftInAnimationAdapter) 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 4 with SwingLeftInAnimationAdapter

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

the class DragDropListFragment method setLeftAdapter.

/**
     * Left animation
     */
private void setLeftAdapter() {
    AnimationAdapter animCardArrayAdapter = new SwingLeftInAnimationAdapter(mCardArrayAdapter);
    animCardArrayAdapter.setAbsListView(mListView);
    if (mListView != null) {
        mListView.setExternalAdapter(animCardArrayAdapter, mCardArrayAdapter);
    }
}
Also used : SwingLeftInAnimationAdapter(com.nhaarman.listviewanimations.appearance.simple.SwingLeftInAnimationAdapter) 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 5 with SwingLeftInAnimationAdapter

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

the class NativeDragDropListFragment method setLeftAdapter.

/**
     * Left animation
     */
private void setLeftAdapter() {
    AnimationAdapter animCardArrayAdapter = new SwingLeftInAnimationAdapter(mCardArrayAdapter);
    animCardArrayAdapter.setAbsListView(mListView);
    if (mListView != null) {
        mListView.setExternalAdapter(animCardArrayAdapter, mCardArrayAdapter);
    }
}
Also used : SwingLeftInAnimationAdapter(com.nhaarman.listviewanimations.appearance.simple.SwingLeftInAnimationAdapter) 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)

Aggregations

SwingLeftInAnimationAdapter (com.nhaarman.listviewanimations.appearance.simple.SwingLeftInAnimationAdapter)7 AnimationAdapter (com.nhaarman.listviewanimations.appearance.AnimationAdapter)5 AlphaInAnimationAdapter (com.nhaarman.listviewanimations.appearance.simple.AlphaInAnimationAdapter)5 ScaleInAnimationAdapter (com.nhaarman.listviewanimations.appearance.simple.ScaleInAnimationAdapter)5 SwingBottomInAnimationAdapter (com.nhaarman.listviewanimations.appearance.simple.SwingBottomInAnimationAdapter)5 SwingRightInAnimationAdapter (com.nhaarman.listviewanimations.appearance.simple.SwingRightInAnimationAdapter)5 View (android.view.View)1 AdapterView (android.widget.AdapterView)1 ImageView (android.widget.ImageView)1 ListView (android.widget.ListView)1 TextView (android.widget.TextView)1 Map (java.util.Map)1