ViewTreeHostDefaultKey


An Android-specific HostDefaultKey that identifies values stored within the View hierarchy using Resource ID tags.

This key is specifically designed for use with ViewTreeHostDefaultProvider. It allows the runtime to resolve dependencies by traversing upward through the view tree—including across disjoint parents like Dialogs and Popups—to find a value associated with the provided tagKey.

Parameters
<T : Any?>

The type of the value associated with this key.

Summary

Public properties

Int

The Android Resource ID used as the tag key to retrieve the value from a View's tags.

android

Public properties

tagKey

val tagKeyInt

The Android Resource ID used as the tag key to retrieve the value from a View's tags.