Skip to content
🤔 Documentation issue? Report it

//leakcanary-repo/leakcanary/SaveResourceIdsInterceptor

SaveResourceIdsInterceptor

[androidJvm]\ class SaveResourceIdsInterceptor(resources: Resources) : HeapAnalysisInterceptor

Interceptor that saves the names of R.id.* entries and their associated int values to a static field that can then be read from the heap dump.

Constructors

SaveResourceIdsInterceptor [androidJvm]
constructor(resources: Resources)

Functions

Name Summary
intercept [androidJvm]
open override fun intercept(chain: HeapAnalysisInterceptor.Chain): HeapAnalysisJob.Result