There is a class MainActivity from which I start another class, through startintent , say, TwoActivity . But TwoActivity does not see the interface, that is, findViewById does not see the ID elements on the interface.

Maybe there is a simpler solution.

The bottom line is this: there are two classes. a separate file, it is necessary that when the method is called in the second class, the screen interface is changed. Tell me where to dig.

  • Do you want from one activation to access the markup of another activation? If so, this is not possible. Only one activity can exist / be active at a time - YuriySPb
  • @YuriySPb Tobish to change the interface, I have to do it in one activation. I understand you, thanks! - Alexander
  • If you start another activity, you can put in the Inventory Bundle information about what changes and what will happen. - AZ

0