public CollapseAnimationListener(AnimatedExpandableListAdapter adapter, int groupPosition, ExpandableListView listView, GroupInfo info, DummyView dummyView) { _adapter = adapter; _groupPosition = groupPosition; _listView = listView; _info = info; _dummyView = dummyView; }
/** * @see ExpandableListView#setAdapter(ExpandableListAdapter) */ public void SetAdapter(BaseExpandableListAdapter adapter) { base.SetAdapter(adapter); // Make sure that the adapter extends AnimatedExpandableListAdapter if (adapter is AnimatedExpandableListAdapter) { _adapter = (AnimatedExpandableListAdapter)adapter; _adapter.Parent = this; } else { throw new InvalidCastException(adapter.ToString() + " must implement AnimatedExpandableListAdapter"); } }
public ExpandAnimationListener(AnimatedExpandableListAdapter adapter, int groupPosition, DummyView dummyView) { _adapter = adapter; _groupPosition = groupPosition; _dummyView = dummyView; }