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;
			}

		}
Ejemplo 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;
            }
        }
Ejemplo n.º 3
0
 public MySimpleOnGestureListener(FloatingActionButton bu)
 {
     b = bu;
 }
Ejemplo n.º 4
0
 public MyAnimatorListenerAdapter(FloatingActionButton bu)
 {
     b = bu;
 }
			public MySimpleOnGestureListener(FloatingActionButton bu)
			{
				b = bu;
			}
			public MyAnimatorListenerAdapter(FloatingActionButton bu)
			{
				b = bu;
			}