コード例 #1
0
  public void getDataFromDatabase() {

    activity = (LifeMixActivity) getActivity();
    DataStation station = activity.getDataStation();
    pursuitPool = station.getPursuitPool();

    pursuitList = pursuitPool.getAll();

    pursuitNameList = new ArrayList<String>();

    for (Pursuit p : pursuitList) {
      pursuitNameList.add(
          p.getName()
              + " A: "
              + p.getIdealScore().getAchievement()
              + " C: "
              + p.getIdealScore().getCloseness()
              + " E: "
              + p.getIdealScore().getEnjoyment());
    }
  }