Custom Home Hub
Creating a customized home screen (hub) for a mobile app can be a great way to enhance the user experience and provide more functionality than what is available in the standard home screen. In this section, we will explore the benefits of creating a custom home screen and the steps involved in configuring one.
Creating a custom home screen is only necessary when you cannot achieve that amazing screen you want using the standard home screen. The standard home hub offers functionalities that are enough for most users. However, a custom home screen can be a great solution if you have specific requirements or want to offer a more personalized experience, from creating a simplistic to a complex interactive hub for your users.
- Show a button.
A custom simply is a that you have created that is shown in place of the standard configured in the index.jigx file.
- Create and configure a with the functionality and style that you require on the . The versatile jig.default is a great option to use.
- In the index.jigx file invoke IntelliSense (ctrl+space) and select home from the list of options.
- Give the home screen an InstanceId.
- Add the onLoad or onRefresh events for syncing data after the home property.
You can combine a standard with a custom . The hybrid experience will be that you can switch between the s using the toggle icon at the bottom of the screen.
- In the index.jigx file invoke IntelliSense (ctrl+space) and select home from the list of options.
- Give the home screen an InstanceId.
- The onload event must still be configured on the index.jigx file for syncing data to the device.
- When deciding on the type of to use as the it is recommended to use the jig.default as it provides the broadest scope of components, actions, and widgets.