Wish [SOLVED] Make linter warn if we're initializing a view that's in a layout

Sandman

Expert
Licensed User
Longtime User
This thread came up:

I've seen the like of it a couple of times before, and I am certain I also made this mistake when I started coding in B4X. So if it's possible, perhaps add a warning/error in the linter saying that one shouldn't initialize a view that's part of a layout.
 

Sandman

Expert
Licensed User
Longtime User
Yep, seems good enough really. (Didn't stop me from making the mistake when I started using B4X though. )
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…