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
Link copied to clipboard
fun SaveResourceIdsInterceptor(resources: Resources)

Functions

intercept
Link copied to clipboard
open override fun intercept(chain: HeapAnalysisInterceptor.Chain): HeapAnalysisJob.Result