Set dynamic id and show them


Hi, I’m getting some data from a REST API (json) from a wordpress.

With theses data, I’m creating some EditText and add the value of the API into the EditText. I want to set an ID so that two of the EditText that I’ve created can be used by each other (for a calcutation : price * quantity)

How can I do this ? And is there a way to the result of code generated code in Android Studio (I’m not talking about the emulator)