Erel, or somebody else:
(I think there are several guys, in this forum, that can answer my question)
This is the code:
B4X:
Type DisplayMetrics(Density As Float, _
densityDpi As Int, _
heightPixels As Int, _
scaledDensity As Float, _
widthPixels As Int, _
xdpi As Float, _
ydpi As Float)
Yes, I know, Density is a Core library keyword. (Please, avoid any workarounds suggestion)
The Question is:
Why does a custom type member should conflict with a keyword?
There isn't really a good reason for that. The parser treats it as a keyword and then it fails to parse the type correctly. You should not use keywords for any other purposes.