diff --git a/app/src/main/java/org/ntlab/amaryllis/client/fragment/AccountFragment.java b/app/src/main/java/org/ntlab/amaryllis/client/fragment/AccountFragment.java index 655c714..2ac9d40 100644 --- a/app/src/main/java/org/ntlab/amaryllis/client/fragment/AccountFragment.java +++ b/app/src/main/java/org/ntlab/amaryllis/client/fragment/AccountFragment.java @@ -113,23 +113,23 @@ ma.logout(); } }); -// changeButton.setOnClickListener(new View.OnClickListener() { -// public void onClick(View v) { -// Call call = accountsFragment.changeIntroduction(uid,token,introductionEditText.getText().toString()); -// call.enqueue(new Callback(){ -// @Override -// public void onResponse(Call call, Response response) { -// MessageJson messageJson = response.body(); -// System.out.println("RESPONSE!" ); -// //introductionEditText.setText(); -// } -// @Override -// public void onFailure(Call call, Throwable t) { -// System.out.println("!!!!!!!!!!!!!!!!!!!!!!!!" + t); -// } -// }); -// } -// }); + changeButton.setOnClickListener(new View.OnClickListener() { + public void onClick(View v) { + Call call = accountsFragment.changeIntroduction(uid,token,introductionEditText.getText().toString()); + call.enqueue(new Callback(){ + @Override + public void onResponse(Call call, Response response) { + MessageJson messageJson = response.body(); + System.out.println("RESPONSE!" ); + //introductionEditText.setText(); + } + @Override + public void onFailure(Call call, Throwable t) { + System.out.println("!!!!!!!!!!!!!!!!!!!!!!!!" + t); + } + }); + } + }); }