@Dog2puppy, create a custom view and load the data when you initialize it:
class MyView(ui.View): def __init__(self, **kwargs): super().__init__(**kwargs) # load data from API # set up subviews based on the loaded dataIf you want to set up the view and have it be responsive while you load the data, do the loading in a method decorated with ui.in_background.