Error LinearLayout.GetX()


#1

Can someone help me please ? I get an error in procedure Screen.BackPressed like this :
Untitled

This error appears after I add the sidebar component and add the following block :
Untitled2


#2

You may not have set it up:
2020-02-11_16-29-32


#3

Of course I did it, it’s just that I placed it in the button, not in initialize, is that wrong?

Untitled3


#4

I recommend you move, Create to Screen.initialize.


#5

Thankyou bro, It’s solved.