Bug? Copy-Paste B4XSwitch view between different Projects

free2end

Member
Licensed User
In B4A 10.7 build a new Default project named A

change in Build Configurations the package as eu.prja

then add with Designer a new simple layout .bal named La1 with only one View, a B4XSwitch1

select and copy that B4XSwitch1 view

build a new Default project named B

change in Build Configurations the package as eu.prjb

then add with Designer a new simple layout .bal named Lb1

paste the copied B4XSwitch1 view (from La1 of project A)

save & close

then with BAL converter v.2.30, convert both .bal files (La1, Lb1) to JSON

found in Lb1 that the pasted B4XSwitch1 view from La1 to Lb1 keeps for the customType the value of the source (La1)

please help me: is that a potential problem or not?

B4X:
"javaType": ".CustomViewWrapper",
                "typeface": "DEFAULT",
                "customType": "eu.prja.b4xswitch",
                "customProperties": {
                    "OnColor": {
                        "ValueType": 6,
                        "Value": "0xFF00D254"
                    },
                    "customType": "eu.prja.b4xswitch",
                    "csType": "Dbasic.Designer.MetaCustomView+CustomDataGrid",
                    "shortType": "B4XSwitch",
                    "Value": false,
                    "HapticFeedback": true,
                    "ThumbColor": {
                        "ValueType": 6,
                        "Value": "0xFFFFFFFF"
                    },
                    "type": "",
                    "OffColor": {
                        "ValueType": 6,
                        "Value": "0xFFCACACA"
                    }
                },
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…