Skip to content
🤔 Documentation issue? Report it

//leakcanary-repo/shark/AndroidResourceIdNames/Companion/saveToMemory

saveToMemory

[jvm]\

@Synchronized

fun saveToMemory(getResourceTypeName: (Int) -> String?, getResourceEntryName: (Int) -> String?)

Parameters

jvm

getResourceTypeName a function that delegates to Android Resources.getResourceTypeName but returns null when the name isn’t found instead of throwing an exception.
getResourceEntryName a function that delegates to Android Resources.getResourceEntryName but returns null when the name isn’t found instead of throwing an exception.