use of com.nhaarman.listviewanimations.appearance.simple.SwingRightInAnimationAdapter 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.simple.SwingRightInAnimationAdapter in project ListViewAnimations by nhaarman.
the class AppearanceExamplesActivity method setRightAdapter.
private void setRightAdapter() {
if (!(mAnimAdapter instanceof SwingRightInAnimationAdapter)) {
mAnimAdapter = new SwingRightInAnimationAdapter(mAdapter);
mAnimAdapter.setAbsListView(getListView());
getListView().setAdapter(mAnimAdapter);
}
}
Aggregations