code: public static ChooseAuthenticationFragment createChooseAuthenticationFragment(final Context context, final ArrayList<BoxAuthentication.BoxAuthenticationInfo> listOfAuthInfo){
          ChooseAuthenticationFragment fragment = createAuthenticationActivity(context);
          Bundle b = fragment.getArguments();
          if (b == null){
              b = new Bundle();
          }
  
          ArrayList<CharSequence> jsonSerialized = new ArrayList<CharSequence>(listOfAuthInfo.size());
          for (BoxAuthentication.BoxAuthenticationInfo info : listOfAuthInfo){
              jsonSerialized.add(info.toJson());
          }
          b.putCharSequenceArrayList(EXTRA_BOX_AUTHENTICATION_INFOS, jsonSerialized);
  
          fragment.setArguments(b);
          return fragment;
  
      }
docs: Create an instance of this fragment to display the given list of BoxAuthenticationInfos.
  @param context current context
  @param listOfAuthInfo a list of auth infos in the order to display to the user.
  @return a fragment displaying list of authinfos provided above.