@Override protected void onError(CamiproController controller, Exception e) { controller.getModel().notifyNetworkError(); e.printStackTrace(); }
@Override protected void onResult(CamiproController controller, CamiproSession result) { ((CamiproModel) controller.getModel()).setCamiproCookie(result.getCamiproCookie()); ((CamiproModel) controller.getModel()).getListenersToNotify().gotCamiproCookie(); }