code: public DrawerView selectProfile(DrawerProfile profile) {
          if (mProfileAdapter.getItems().contains(profile)) {
              DrawerProfile oldProfile = mProfileAdapter.getItem(0);
  
              if (mProfileAdapter.getCount() > 1) {
                  closeProfileList();
                  animateToProfile(profile);
  
                  mProfileAdapter.remove(profile);
                  mProfileAdapter.insert(profile, 0);
              } else {
                  mProfileAdapter.remove(profile);
                  mProfileAdapter.insert(profile, 0);
  
                  if (hasOnProfileSwitchListener()) {
                      onProfileSwitchListener.onSwitch(oldProfile, oldProfile.getId(), profile, profile.getId());
                  }
              }
          }
          return this;
      }
docs: Selects a profile from the drawer view
  
  @param profile The profile