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

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

Functions

Name Summary
pxToDp fun <ERROR CLASS>.~~pxToDp~~(pixels: Int): <ERROR CLASS>
Converts a value in density independent pixels (pxToDp) to the actual pixel values for the display.
readJSONObject fun <ERROR CLASS>.readJSONObject(fileName: String): <ERROR CLASS>
Read a file from the “assets” and create a a JSONObject from its content.