-1

I am trying to get some values from an API endpoint, and onclick of a button I want it to show the values on some editTexts but in the same activity.i.e the button and the editTEXTS are on the same screen. How do i do that?

Marcin Orlowski
  • 72,056
  • 11
  • 123
  • 141
  • I think there is an issue with clarity here. Do you have any fragments? If everything is in one activity then you can directly reference the various EditTexts and Buttons. EventBus is for going between different Activities and Fragments (if I remember correctly) – C. Skjerdal Jan 12 '20 at 15:51

1 Answers1

-1

So why you want to use EventBus mainly if all your resources are in the same activity? you can update them easily without using EventBus that's why i'm asking.

Hagar Magdy
  • 293
  • 2
  • 10