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.
您好,我想知道如何执行以下操作:
CheckBoxPreference mCheckBox = (CheckBoxPreference) findPreference("key");
除了在米拉?^^^^^^^^^^^^^^^^^^^^^^ 这里的演员阵容是我不知道如何翻译成mirah的。
据我了解,在 Mirah 中进行投射是以 的形式包装对象的形式TypeToCastTo(ObjectToCast),例如:
TypeToCastTo(ObjectToCast)
mCheckBox = CheckBoxPreference(findPreference("key"));