Just getting started with b4x pages and have added BCToast to my project.
The problem is BCToast only shows on the B4XMainPage, not the page that is currently shown.
So in my b4xPages class_globals I have
Private toast As BCToast
In the b4xPage_Created i have
toast.Initialize(Root)
This works except the toasts message is only shown on the main page.
I have spent the last 30 minutes trying other b4xview objects in the init method. What object should go in the init?
See below (I know it is something stupid)
The problem is BCToast only shows on the B4XMainPage, not the page that is currently shown.
So in my b4xPages class_globals I have
Private toast As BCToast
In the b4xPage_Created i have
toast.Initialize(Root)
This works except the toasts message is only shown on the main page.
I have spent the last 30 minutes trying other b4xview objects in the init method. What object should go in the init?
See below (I know it is something stupid)
Last edited: