Class of android.content.res · XmlBlock.java · Android's reference
public final class XmlBlock implements AutoCloseable
A compiled XML document, parsed by the runtime's HLE of libandroidfw's ResXMLTree (src/android/res/axml.c). Its parsers hold their place natively; their strings come from the document's pool, each made once.
public XmlBlock(byte[] data) sourcepublic String string(int index) sourcepublic XmlResourceParser newParser() sourcepublic synchronized void close() sourceMade from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.