Excellent.
This is exactly the purpose of B4XPages.GlobalContext. You can assign anything you like to this field, including a class instance or a custom type, and access it from wherever you like.
In B4A, it makes sense to assign it in the starter service.