1. It is not a test, this is how you should use B4XDrawer.
2. If you are using multiple pages then don't try to use the same drawer in all pages. Create a new drawer in each page.
The layout events will be raised in the class where the layout was loaded.
If you want them to be raised in B4XMainPage then do something like:
Code:
MIzq.Drawer.Center.LoadLayout("MainPageLayout")