Skip to content

Instantly share code, notes, and snippets.

@briansalvattore
Created November 20, 2015 04:08
Show Gist options
  • Save briansalvattore/e6450f5bae4522cfc867 to your computer and use it in GitHub Desktop.
Save briansalvattore/e6450f5bae4522cfc867 to your computer and use it in GitHub Desktop.
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
EventBus.getInstance().postQueue(new Event(requestCode, resultCode, data));
if (requestCode == EDIT && resultCode == RESULT_OK) {
Log.d("EDIT", "RESULT_OK");
UserEntity userEntity = (UserEntity) data.getSerializableExtra("USER");
DetailInfoFragment.updateData(userEntity, this);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment