Example #1
0
        private void ActivitiesWeek_GroupClick(object sender, ExpandableListView.GroupClickEventArgs e)
        {
            e.Handled = false;

            _selectedGroupPosition = e.GroupPosition;

            Log.Info(TAG, "ActivitiesWeek_GroupClick: groupPosition - " + e.GroupPosition.ToString() + ", ID - " + e.Id.ToString());
        }
Example #2
0
 private void ListView_GroupClick(object sender, ExpandableListView.GroupClickEventArgs e)
 {
     if (e.GroupPosition != SelectedGroup)
     {
         _listView.ExpandGroupWithAnimation(e.GroupPosition);
         SelectedGroup = e.GroupPosition;
     }
     else
     {
         _listView.CollapseGroupWithAnimation(e.GroupPosition);
         SelectedGroup = -1;
     }
 }
 private void OnGroupClick(object sender, ExpandableListView.GroupClickEventArgs e)
 {
     if (Control.IsGroupExpanded(e.GroupPosition))
     {
         Control.CollapseGroupWithAnimation(e.GroupPosition);
     }
     else
     {
         if (Element.LoadBusArrivalsFunc != null)
         {
             Element.LoadBusArrivalsFunc(e.GroupPosition, OnBusArrivalsLoaded);
         }
     }
 }
Example #4
0
        private void HandleSelect(object sender, ExpandableListView.GroupClickEventArgs e)
        {
            string value = "";

            value = mAdapter.GetGroup(e.GroupPosition).ToString();
            Android.Support.V4.App.Fragment fragment = null;
            Bundle args = new Bundle();

            args.PutString("location", curLocation);
            args.PutString("selection", value);
            args.PutString("prevView", prevView);
            fragment           = detaildepthFragment.NewInstance();
            fragment.Arguments = args;
            base.FragmentManager.BeginTransaction()
            .Replace(Resource.Id.content_frame, fragment)
            .Commit();
        }
 private void LvCartItemList_GroupClick(object sender, ExpandableListView.GroupClickEventArgs e)
 {
     throw new NotImplementedException();
 }
Example #6
0
 private void Form_GroupClick(object sender, ExpandableListView.GroupClickEventArgs e)
 {
     e.Handled = true;
 }