The following code is used to send data from an activity to another activity :
Intent intent = new Intent(this, SecondActivity.class);
intent.putExtra("number", 50);
startActivity(intent);
How do I receive the data on the activity intended?
for those who know the answer please write in the comment column😁