public void OnClick(View v) { SatelliteMenu menu = menuRef; if (menu != null) { SatelliteMenuItem menuItem = menu.getViewToItemMap()[v]; v.StartAnimation(menuItem.getClickAnimation()); } }
public void OnAnimationStart(Animation animation) { if (viewRef != null) { View view = viewRef; if (view != null) { SatelliteMenuItem menuItem = viewToItemDic[view]; if (isInAnimation) { menuItem.getView().Visibility = ViewStates.Visible; menuItem.getCloneView().Visibility = ViewStates.Gone; } else { menuItem.getCloneView().Visibility = ViewStates.Gone; menuItem.getView().Visibility = ViewStates.Visible; } } } }