oday
10/07/2022, 9:55 AMimport as
in kotlin? I need to use two classes that are called the same but different packages and I dont want my entire package name behind each usage of one or the other to differentiateoday
10/07/2022, 9:58 AMStephan Schroeder
10/07/2022, 9:58 AMVampire
10/07/2022, 11:31 AMimport org.test.Message as TestMessage
🙂Bence Erős
10/07/2022, 12:37 PMimport as
renamings in each source file, you can take a look at typealiases: https://kotlinlang.org/docs/type-aliases.htmlStephan Schroeder
10/08/2022, 6:46 AMtestMessage
is from the official docs 🤷♂️
Personally I'd use uppercase as well.