Exemple #1
0
 public CollapseAnimationListener(AnimatedExpandableListAdapter adapter, int groupPosition, ExpandableListView listView, GroupInfo info, DummyView dummyView)
 {
     _adapter       = adapter;
     _groupPosition = groupPosition;
     _listView      = listView;
     _info          = info;
     _dummyView     = dummyView;
 }
Exemple #2
0
 /**
  * @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");
     }
 }
Exemple #3
0
 public ExpandAnimationListener(AnimatedExpandableListAdapter adapter, int groupPosition, DummyView dummyView)
 {
     _adapter       = adapter;
     _groupPosition = groupPosition;
     _dummyView     = dummyView;
 }