I know how to get the input from EditText
and send it to the next activity using:
btn_blob.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getApplicationContext(), NextActivity.class);
intent.putExtra((EXTRA_PRIZE), prize_detail);
startActivity(intent);
}
});
But, I only get the EditText input in this NextActivity.java
. How can I get and display the EditText input with a textView in more than one activity? Also, in the header of the DrawerLayout
, there should be a TextView with this content.