private void countCalendarClick(FinanceCalendar calendar) {
   Map<String, String> extra = new HashMap<>(1);
   extra.put("title", calendar.ecName);
   MobclickAgent.onEvent(getActivity(), EventIDS.QUOTE_CALENDAR_CLICK, extra);
   Tracker.getInstance(getActivity())
       .addLog(new LogData.Builder(getActivity()).pv(EventIDS.QUOTE_CALENDAR_CLICK).append(extra));
 }
 private void countChangeLineType() {
   Map<String, String> extra = new HashMap<String, String>(1);
   extra.put("period", this.lineType);
   MobclickAgent.onEvent(getActivity(), EventIDS.QUOTE_PERIOD_CLICK, extra);
   Tracker.getInstance(getActivity())
       .addLog(new LogData.Builder(getActivity()).pv(EventIDS.QUOTE_PERIOD_CLICK).append(extra));
 }
  @Optional
  @OnClick(R.id.iv_to_landscape)
  public void changeToLandscape() {
    getActivity().setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);

    Map<String, String> extra = getChangeLayoutEventExtra();
    MobclickAgent.onEvent(this.getActivity(), EventIDS.QUOTE_LANDSCAPE_PV, extra);
    Tracker.getInstance(getActivity())
        .addLog(new LogData.Builder(getActivity()).pv(EventIDS.QUOTE_LANDSCAPE_PV).append(extra));
  }
  @Optional
  @OnClick(R.id.btn_change_to_portrait)
  public void changeToPortrait() {
    getActivity().setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);

    Map<String, String> extra = getChangeLayoutEventExtra();
    MobclickAgent.onEvent(this.getActivity(), EventIDS.QUOTE_PORTRAIT_PV, extra);
    Tracker.getInstance(getActivity())
        .addLog(new LogData.Builder(getActivity()).pv(EventIDS.QUOTE_PORTRAIT_PV).append(extra));
  }