android-components / mozilla.components.support.ktx.android.content.res

Package mozilla.components.support.ktx.android.content.res

Functions

Name Summary
readJSONObject fun <ERROR CLASS>.readJSONObject(fileName: String): <ERROR CLASS>
Read a file from the “assets” and create a a JSONObject from its content.
resolveAttribute fun <ERROR CLASS>.resolveAttribute(attribute: Int): Int
Resolves the resource ID corresponding to the given attribute.