Dorian on Nostr: The #Kotlin import model is really nuts 🥴 As far as I can see you need (in parts?) ...
The #Kotlin import model is really nuts 🥴
As far as I can see you need (in parts?) to import modules, classes, functions and even variables separately. Wildcard imports do not work recursively.
So, if you copy paste some source from a sample, a wild hunt starts. You'll spent minutes finding out where to import a shady functions and symbols from.
And also many online samples don't show the imports, because common knowledge I guess 🙄
As far as I can see you need (in parts?) to import modules, classes, functions and even variables separately. Wildcard imports do not work recursively.
So, if you copy paste some source from a sample, a wild hunt starts. You'll spent minutes finding out where to import a shady functions and symbols from.
And also many online samples don't show the imports, because common knowledge I guess 🙄