Beispiel #1
0
    @Override
    public void success(Boardgames boardgames, Response retrofitResponse) {
      System.out.println("inside_GetBoardGames Success");

      /*String ids = "";
      for (Boardgame bg: boardgames.getBoardgame()){
          //ids.concat(" " + bg.getObjectid());
          //System.out.println(bg.getObjectid());
      }
      BusManager.post(new Event(ids));*/
      BusManager.post(new Event(boardgames));
    }
Beispiel #2
0
 @Override
 public void failure(RetrofitError error) {
   System.out.println("inside_GetBoardGames Failure");
   System.out.print(error.getMessage());
   BusManager.post(new RetrofitErrorEvent(error));
 }