-2

I haven't found a way to have it so an activity exists and the activity would load into another activity.

The reason I want to do this is I am attempting to have it so an activity can be loaded from an external file(if this is possible).

Is there a way to do this? Sorry if I have no code to display since I have no idea how this would be possible(if it is).

EDIT: Am I asking the wrong question? I didn't know how else to ask the question because I have looked online for a solution, but couldn't find any.

Wookie88
  • 33,079
  • 4
  • 27
  • 32
user3864563
  • 365
  • 1
  • 7
  • 22

1 Answers1

0

If you want to be able to reuse User Interface sections, you should use the Fragments. They are similar to the User Controls available in many .Net technologies (WPF, Asp.Net, ecc) if know them.

Be aware, it takes some time to understand how they works.

simoneL
  • 602
  • 1
  • 7
  • 23