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);
}
}
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);
}
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);
}
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);
}
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);
}
Aggregations