Bind data to design for a detail page

This tutorial is a continuation after you have set up an API request for a detail page and the binding for a list page.

If you haven't done that yet, check out:

๐Ÿ‘‰ Connect data for a list page ๐Ÿ‘‰ Set up an API GET request for detail page ๐Ÿ’ก We're using this design file and Xano backend for the tutorial.

How to connect data for a detail page

Here's how to set up the detail page binding, so that when you tap on an item in the list page, it opens the detail page with relevant content.

The key to setting up a detail page correctly is in the API request. Double check the request setup if the detail page content doesn't show up correctly.

In this example, we are binding data to the Resort detail page.

  1. In your App page, click on the Resort detail page screen to enter Data Binding mode.

  2. Elements, the section under Screens, displays the list of UI elements of this app screen. It shows all the 2nd-level containers collapsed, and you can expand it to see the elements within.

  3. In this case, we don't want to populate any of the containers in this screen to a list. Therefore, we won't bind the container element to any data item. Instead, we'll open it to expand all the UI elements inside the container, and bind each of them to the corresponding data item.

  4. We'll do the same with all the other UI elements in the screen that we want to bind to API data.

  5. The binding is now completed. Check out your connected detail page in Bravo Vision! ๐Ÿ“ฑ

Although this is considered a "detail screen", because it displays more information about a specific item from a "list screen", it could still be possible to bind a container to a list data item, if the API request we use contains one.

Last updated