Little Pin Icon on Java Class - Android Studio

主宰稳场 提交于 2020-03-18 05:04:26

问题


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!


回答1:


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




回答2:


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



来源:https://stackoverflow.com/questions/46417821/little-pin-icon-on-java-class-android-studio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!