コード例 #1
0
 public void onUserCreated(User user) {
   Intent data = new Intent();
   Log.d("TMM", "Adding user " + user.getName());
   data.putExtra(User.KEY_USER, user);
   setResult(ActionBarActivity.RESULT_OK, data);
   finish();
 }
コード例 #2
0
 public void onUserEdited(User user) {
   Intent data = new Intent();
   Log.d("TMM", "Editing user " + user.getName());
   setResult(ActionBarActivity.RESULT_OK, data);
   finish();
 }