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.
我在 Drawable 中没有找到任何释放对象的方法,但是在 SpannableStringBuilder 类中,我们可以调用 clearSpans() 和 clear() 来清除 SpannableStringBuilder 的实例。它们有帮助吗?