public ExpandableAnimationListener(AnimatedExpandableListAdapter adaptor, int state, int groupPosition, DummyView dummyView, ExpandableListView listView, GroupInfo info) { this.adaptor = adaptor; this.state = state; this.groupPosition = groupPosition; this.dummyView = dummyView; this.listView = listView; this.info = info; }
public CustomAnimateListener(Number State, int groupPosition, View dumyView, GroupInfo info, AnimatedExpandableListView listView, AnimatedExpandableListAdapter parent, Action onListViewAnimationEnd) { this._state = State; this._groupPostion = groupPosition; this._dummyView = dumyView; _listView = listView; _parent = parent; _info = info; OnListViewAnimationEnd = onListViewAnimationEnd; }
public ExpandAnimation(View v, int startHeight, int endHeight, GroupInfo info, Activity activity, AnimatedExpandableListAdapter parent) { baseHeight = startHeight; delta = endHeight - startHeight; view = v; groupInfo = info; view.LayoutParameters.Height = startHeight; view.RequestLayout(); _activity = activity; _parent = parent; }
public override void SetAdapter(IExpandableListAdapter adapter) { base.SetAdapter(adapter); if (adapter is AnimatedExpandableListAdapter) { this.adapter = (AnimatedExpandableListAdapter)adapter; this.adapter.setParent(this); } else { } }
/** * @see ExpandableListView#setAdapter(ExpandableListAdapter) */ public override void SetAdapter(IExpandableListAdapter adapter) { base.SetAdapter(adapter); // Make sure that the adapter extends AnimatedExpandableListAdapter if (adapter is AnimatedExpandableListAdapter) { this.adapter = (AnimatedExpandableListAdapter)adapter; this.adapter.SetParent(this); } else { throw new ClassCastException(adapter.ToString() + " must implement AnimatedExpandableListAdapter"); } }