' I don't see any ActivityContext here. I even tried this(Dim dummy as View) and the compile process is broken in a different way.
'Class module
Sub Class_Globals
' Dim dummyView As View
Dim P_BgColor As Int
Dim P_BgImage As String
Dim P_TextSize As Int
Dim P_TextColor As String
End Sub
'Initializes the object. You can add parameters to this method if needed.
Public Sub Initialize(BgColor As Int, BgImage As String, TextSize As Int, TextColor As String)
P_BgColor = BgColor
P_BgImage = BgImage
P_TextSize = TextSize
P_TextColor = TextColor
End Sub
Public Sub BgColorPro As Int
Return P_BgColor
End Sub
Public Sub BgImagePro As String
Return P_BgImage
End Sub
Public Sub TextSizePro As Int
Return P_TextSize
End Sub
Public Sub TextColorPro As Int
Return P_TextColor
End Sub