Skip to main content
Roman REITER
Associate III
February 19, 2023
Solved

Can't change Screen when i use a SwipeContainer

  • February 19, 2023
  • 3 replies
  • 1990 views

Hello. I use a SwipeContainer with 2 pages. I have a button with which I want to switch to another page. But the simulator and also the STM32F7508 crashes. Does anyone have an idea to solve this problem?0693W00000aHAHyQAO.png

This topic has been closed for replies.
Best answer by Roman REITER

I fix this. The array was out of range.

3 replies

Romain DIELEMAN
ST Employee
February 20, 2023

Hi,

When does the simulator crashes exactly ? When you press the button or at launch ? You talk about page and screens in your post, what is the fonction you call suppose to execute ? Could you share some code/ how you implemented it ? Or share your project if not confidential ?

/Romain

Roman REITER
Associate III
February 20, 2023

The GUI works fine, also the SwipeContainer. But when i want to change to another screen with a button, the simulator and also the STM32F7508 crashes.

The Screen with the SwipeContainer has 2 pages. Everey Page includes a custom container with a ScrollableContainer and a ListLayout. I included the relevant files, because the project has approximately 1GB.

Roman REITER
Roman REITERAuthorBest answer
Associate III
February 25, 2023

I fix this. The array was out of range.