HelloCW
HelloCW

Reputation: 2255

Why do some Kotlin files show lock icon?

The following code is from Kotlin-for-Android-Developers. The image of the project structure in Android Studio 3.0 is below.

Why do some Kotlin files show lock icon? Thanks!

And more, some Kotlin files have extensions .kt, and some Kotlin files don't have extensions, why?

enter image description here

Upvotes: 1

Views: 580

Answers (1)

guenhter
guenhter

Reputation: 12177

Here is a detailed description of the icons: https://www.jetbrains.com/help/idea/symbols.html

The open-lock means public. so you have a class in there which is public (public is the default visibility of Kotlin classes)

Upvotes: 3

Related Questions