Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在我的 android 应用程序中,如果我有一个名为 的活动Home.java,我如何获取该"Home"活动的 oncreate 事件的字符串?
Home.java
"Home"
谢谢。
this.getClass().getSimpleName()