use of com.nhaarman.listviewanimations.appearance.AnimationAdapter in project cardslib by gabrielemariotti.
the class ListViewAnimationsFragment 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);
}
}
use of com.nhaarman.listviewanimations.appearance.AnimationAdapter 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);
}
}
Aggregations