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