use of com.nhaarman.listviewanimations.appearance.simple.ScaleInAnimationAdapter in project ListViewAnimations by nhaarman.
the class AppearanceExamplesActivity method setScaleAdapter.
private void setScaleAdapter() {
if (!(mAnimAdapter instanceof ScaleInAnimationAdapter)) {
mAnimAdapter = new ScaleInAnimationAdapter(mAdapter);
mAnimAdapter.setAbsListView(getListView());
getListView().setAdapter(mAnimAdapter);
}
}
use of com.nhaarman.listviewanimations.appearance.simple.ScaleInAnimationAdapter in project cardslib by gabrielemariotti.
the class AnimateStaggeredGridFragment method setScaleAdapter.
/**
* Scale animation
*/
private void setScaleAdapter() {
AnimationAdapter animCardArrayAdapter = new ScaleInAnimationAdapter(mCardArrayAdapter);
setCommonAnimation(animCardArrayAdapter);
animCardArrayAdapter.setAbsListView(staggeredView);
staggeredView.setExternalAdapter(animCardArrayAdapter, mCardArrayAdapter);
}
use of com.nhaarman.listviewanimations.appearance.simple.ScaleInAnimationAdapter in project cardslib by gabrielemariotti.
the class ListViewGridAnimationsFragment method setScaleAdapter.
/**
* Scale animation
*/
private void setScaleAdapter() {
AnimationAdapter animCardArrayAdapter = new ScaleInAnimationAdapter(mCardArrayAdapter);
animCardArrayAdapter.setAbsListView(mListView);
mListView.setExternalAdapter(animCardArrayAdapter, mCardArrayAdapter);
}
use of com.nhaarman.listviewanimations.appearance.simple.ScaleInAnimationAdapter in project cardslib by gabrielemariotti.
the class NativeDragDropListFragment method setScaleAdapter.
/**
* Scale animation
*/
private void setScaleAdapter() {
AnimationAdapter animCardArrayAdapter = new ScaleInAnimationAdapter(mCardArrayAdapter);
animCardArrayAdapter.setAbsListView(mListView);
if (mListView != null) {
mListView.setExternalAdapter(animCardArrayAdapter, mCardArrayAdapter);
}
}
use of com.nhaarman.listviewanimations.appearance.simple.ScaleInAnimationAdapter in project cardslib by gabrielemariotti.
the class ListViewAnimationsFragment method setScaleAdapter.
/**
* Scale animation
*/
private void setScaleAdapter() {
AnimationAdapter animCardArrayAdapter = new ScaleInAnimationAdapter(mCardArrayAdapter);
animCardArrayAdapter.setAbsListView(mListView);
if (mListView != null) {
mListView.setExternalAdapter(animCardArrayAdapter, mCardArrayAdapter);
}
}
Aggregations