Cesar Rodriguez
Cesar Rodriguez

Reputation: 153

Little Pin Icon on Java Class - Android Studio

I don't know what I did... But that's the only file that have like a Pin Icon. What does it mean, and how can I remove it? Thanks!

enter image description here

Upvotes: 7

Views: 1517

Answers (2)

ND1010_
ND1010_

Reputation: 3841

That java file class has a Pin because that class is a final class

May be you have declared that class as a final class :)

To learn more about: Android studio symbols

Upvotes: 9

Amit Vaghela
Amit Vaghela

Reputation: 22945

what is that ?

It is because you have declared that class as final class due to that it is showing that pin icon.

How to remove pin icon ?

If you remove final keyword than that icon will be removed.

Check out description of symbols used in android studio

enter image description here

Upvotes: 6

Related Questions