C
C
Chesterfield252020-12-16 09:50:41
Java
Chesterfield25, 2020-12-16 09:50:41

How to assign getText to EditText field in another activity?

I have an EditText field for entering a phone number.
5fd9ad5e80e73325665374.jpeg

When you click on the button, another activity will open. How to make it so that in the new activity in exactly the same field for entering the phone, assign values ​​​​from this activity, the phone number?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Zagaevsky, 2020-12-16
@zagayevskiy

Pass in Intent.
In general - it is not necessary so, these should be different fragments in one activity.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question