public void OnCheckedChanged(FloatingActionButton fabView, bool isChecked)
		{
			// When a FAB is toggled, log the action.
			switch (fabView.Id) {
			case Resource.Id.fab_1: 
				Log.Debug (TAG, string.Format ("FAB 1 was {0}.", isChecked ? "checked" : "unchecked"));
				break;
			case Resource.Id.fab_2:
				Log.Debug (TAG, string.Format ("FAB 2 was {0}.", isChecked ? "checked" : "unchecked"));
				break;
			default:
				break;
			}

		}
Exemplo n.º 2
0
        public void OnCheckedChanged(FloatingActionButton fabView, bool isChecked)
        {
            // When a FAB is toggled, log the action.
            switch (fabView.Id)
            {
            case Resource.Id.fab_1:
                Log.Debug(TAG, string.Format("FAB 1 was {0}.", isChecked ? "checked" : "unchecked"));
                break;

            case Resource.Id.fab_2:
                Log.Debug(TAG, string.Format("FAB 2 was {0}.", isChecked ? "checked" : "unchecked"));
                break;

            default:
                break;
            }
        }
 public MySimpleOnGestureListener(FloatingActionButton bu)
 {
     b = bu;
 }
 public MyAnimatorListenerAdapter(FloatingActionButton bu)
 {
     b = bu;
 }
			public MySimpleOnGestureListener(FloatingActionButton bu)
			{
				b = bu;
			}
			public MyAnimatorListenerAdapter(FloatingActionButton bu)
			{
				b = bu;
			}