Are child classes possible / usable with b4a?
Here is what I'm trying to achieve.
Dim DL as WearableDataLayer
DL.Initialize("DL")
DL.Connect
......
......
DL.Message.Send(...........) <----
So I want a Message class inside the DataLayer class so that it's methods are accessed with DataLayer.Message.xxxxxx
Is this possible?
I tried the follow setup (Simplified for ease)
@ShortName("WearableDataLayer")
Public Class WearableDataLayer {
Public void Initialize() {
....
}
Public Class Message {
Public void Send() {
....
}
}
}
This doesn't show anything in B4A for the Message class. If I add a @ShortName to the Message Class it is brought to B4A as it's own object to declare.
The reason I want this is 90% aesthetics, but there is a little functional reasoning as the message utilizes a GoogleApiClient that is previous connected in the DataLayer...
Any Ideas?
Thanks