"Lions Tigers and Bears Oh My "
C'Mon it was funny ... :icon_clap:
I think I already know the answer but I NEED to be sure..
If Dim admin As BluetoothAdmin
Can I somehow place the callbacks and automations for admin in another code module..
Admin_DiscoveryFinished
Admin_StateChanged
Admin_DeviceFound
Also the Related object Serial. Serial1_Connected
I kind of want these tools and their subs out of my main activity
something like
Dim serial1 As ImASpecialModuleForSerialStuff.Serial
Dim admin As ImASpecialModuleFor_bt_Devices.BluetoothAdmin
But I'm guessing there's no way these "externalized" references can have their callbacks engaged correctly like this..
?? right ??
So I have to repeat this stuff
[ Admin_DiscoveryFinished
Admin_StateChanged
Admin_DeviceFound ]
in another Activity now
and its upsetting to have code duplication
Oh look.... I have to do Serial1_Connected again too Grrrrr :BangHead:
C'Mon it was funny ... :icon_clap:
I think I already know the answer but I NEED to be sure..
If Dim admin As BluetoothAdmin
Can I somehow place the callbacks and automations for admin in another code module..
Admin_DiscoveryFinished
Admin_StateChanged
Admin_DeviceFound
Also the Related object Serial. Serial1_Connected
I kind of want these tools and their subs out of my main activity
something like
Dim serial1 As ImASpecialModuleForSerialStuff.Serial
Dim admin As ImASpecialModuleFor_bt_Devices.BluetoothAdmin
But I'm guessing there's no way these "externalized" references can have their callbacks engaged correctly like this..
?? right ??
So I have to repeat this stuff
[ Admin_DiscoveryFinished
Admin_StateChanged
Admin_DeviceFound ]
in another Activity now
and its upsetting to have code duplication
Oh look.... I have to do Serial1_Connected again too Grrrrr :BangHead: