Skip to content
🤔 Documentation issue? Report it

//leakcanary/leakcanary/SaveResourceIdsInterceptor

SaveResourceIdsInterceptor

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 fun SaveResourceIdsInterceptor(resources: Resources)

Functions

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