A
A
Alesey2018-06-03 22:13:54
Android
Alesey, 2018-06-03 22:13:54

How to assign value from edittext in one Activivty to textview in another Activity?

How to assign value from edittext in one Activivty to textview in another Activity?
I tried using Intent, but there is a transition to the second activity. Is it possible to assign this value without going to the second Activity?
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Semyon Novikov, 2018-06-04
@semennovikov123

You can try using DefaultSharedPreferences. Write the data to a file and read it in the second activity.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question