@Override public void onClick(View v){
  int position=Math.min((Integer)v.getTag(),mItemList.size() - 1);
  mSelectedTracker=mItemList.get(position);
  mToggleConfigHandler.showForSelectedToggle();
  mToggleConfigHandler.showAtLocation(v);
  mToggleConfigHandler.setArrowPosition(v);
}

@ Override public void onClick ( View v ) { int position = Math . min ( ( Integer ) v . getTag ( ) , mItemList . size ( ) - 1 ) ; mSelectedTracker = mItemList . get ( position ) ; mToggleConfigHandler . showForSelectedToggle ( ) ; mToggleConfigHandler . showAtLocation ( v ) ; mToggleConfigHandler . setArrowPosition ( v ) ; }
called when a toggle button is clicked .
