Can you tell me how putExtra()
works? How and where does it stores the data passed to it ? I am still confused how the data inside it works and how it is passed from one activity to other activity? How its structure is organised? Or the values stored on the inside of the Intent class ?
Imagine there is class A.
it has one static string Example
.I want to fill this string in next activity so I call activityforresult()
Now there is class B.I filled textbox with id text_entered. and I put the code
Intent text = new Intent();
test.putExtra(A.Example, text_entered);
Now where will be text saved, in A example or in intent test?