use of com.nhaarman.listviewanimations.appearance.simple.SwingBottomInAnimationAdapter 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);
}
use of com.nhaarman.listviewanimations.appearance.simple.SwingBottomInAnimationAdapter in project cardslib by gabrielemariotti.
the class ListViewGridAnimationsFragment method setBottomAdapter.
/**
* Bottom animation
*/
private void setBottomAdapter() {
AnimationAdapter animCardArrayAdapter = new SwingBottomInAnimationAdapter(mCardArrayAdapter);
animCardArrayAdapter.setAbsListView(mListView);
mListView.setExternalAdapter(animCardArrayAdapter, mCardArrayAdapter);
}
use of com.nhaarman.listviewanimations.appearance.simple.SwingBottomInAnimationAdapter 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);
}
use of com.nhaarman.listviewanimations.appearance.simple.SwingBottomInAnimationAdapter in project cardslib by gabrielemariotti.
the class NativeDragDropListFragment method setBottomAdapter.
/**
* Bottom animation
*/
private void setBottomAdapter() {
AnimationAdapter animCardArrayAdapter = new SwingBottomInAnimationAdapter(mCardArrayAdapter);
animCardArrayAdapter.setAbsListView(mListView);
mListView.setExternalAdapter(animCardArrayAdapter, mCardArrayAdapter);
}
use of com.nhaarman.listviewanimations.appearance.simple.SwingBottomInAnimationAdapter in project cardslib by gabrielemariotti.
the class NativeDragDropListFragment 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);
}
}
Aggregations