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