5/25/2023 0 Comments Access modifiers in kotlin![]() Given that modifiers in Kotlin are slightly different to Java, I’d like to mention the things I’ve come across so far. ![]() The aim of modifiers is facilitating the encapsulation of components and the same good practices apply when using them in Kotlin. Kotlin has twisted them a little bit but in general, everything remains the same. Visibility modifiers are not exactly new in Android. In Java the visibility is according to the modifier and the default is still public.
0 Comments
Leave a Reply. |