Search in sources :

Example 11 with AlphaInAnimationAdapter

use of com.nhaarman.listviewanimations.appearance.simple.AlphaInAnimationAdapter in project ListViewAnimations by nhaarman.

the class ExpandableListItemActivity method onCreate.

@Override
protected void onCreate(final Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    mExpandableListItemAdapter = new MyExpandableListItemAdapter(this);
    AlphaInAnimationAdapter alphaInAnimationAdapter = new AlphaInAnimationAdapter(mExpandableListItemAdapter);
    alphaInAnimationAdapter.setAbsListView(getListView());
    assert alphaInAnimationAdapter.getViewAnimator() != null;
    alphaInAnimationAdapter.getViewAnimator().setInitialDelayMillis(INITIAL_DELAY_MILLIS);
    getListView().setAdapter(alphaInAnimationAdapter);
    Toast.makeText(this, R.string.explainexpand, Toast.LENGTH_LONG).show();
}
Also used : AlphaInAnimationAdapter(com.nhaarman.listviewanimations.appearance.simple.AlphaInAnimationAdapter)

Aggregations

AlphaInAnimationAdapter (com.nhaarman.listviewanimations.appearance.simple.AlphaInAnimationAdapter)11 AnimationAdapter (com.nhaarman.listviewanimations.appearance.AnimationAdapter)7 ScaleInAnimationAdapter (com.nhaarman.listviewanimations.appearance.simple.ScaleInAnimationAdapter)5 SwingBottomInAnimationAdapter (com.nhaarman.listviewanimations.appearance.simple.SwingBottomInAnimationAdapter)5 SwingLeftInAnimationAdapter (com.nhaarman.listviewanimations.appearance.simple.SwingLeftInAnimationAdapter)5 SwingRightInAnimationAdapter (com.nhaarman.listviewanimations.appearance.simple.SwingRightInAnimationAdapter)5 Card (it.gmariotti.cardslib.library.internal.Card)2 CardArrayAdapter (it.gmariotti.cardslib.library.internal.CardArrayAdapter)2 CardHeader (it.gmariotti.cardslib.library.internal.CardHeader)2 ViewToClickToExpand (it.gmariotti.cardslib.library.internal.ViewToClickToExpand)2 CardListView (it.gmariotti.cardslib.library.view.CardListView)2 ArrayList (java.util.ArrayList)2 StickyListHeadersAdapterDecorator (com.nhaarman.listviewanimations.appearance.StickyListHeadersAdapterDecorator)1 DynamicListView (com.nhaarman.listviewanimations.itemmanipulation.DynamicListView)1 TouchViewDraggableManager (com.nhaarman.listviewanimations.itemmanipulation.dragdrop.TouchViewDraggableManager)1 SimpleSwipeUndoAdapter (com.nhaarman.listviewanimations.itemmanipulation.swipedismiss.undo.SimpleSwipeUndoAdapter)1 StickyListHeadersListViewWrapper (com.nhaarman.listviewanimations.util.StickyListHeadersListViewWrapper)1 StickyListHeadersListView (se.emilsjolander.stickylistheaders.StickyListHeadersListView)1