public SectionsPagerAdapter(FragmentManager fm) {
    super(fm);

    AppConfiguration conf = AppConfiguration.getInstance();

    fragments.add(new CouponMainFragment());
    fragments.add(new CompanyMainFragment());
    fragments.add(new AnalyticsMainFragment());
    fragments.add(new SettingMainFragment());
  }
  @Override
  public View onCreateView(
      LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
    convertView = inflater.inflate(R.layout.fragment_analytics, container, false);

    AppConfiguration conf = AppConfiguration.getInstance();
    //        ((TextView)
    // convertView.findViewById(R.id.display_name_lbl)).setText(conf.getUsername());

    return convertView;
  }