Source set: Android
public interface ViewTreeHostDefaultKey<T> : HostDefaultKey<T>
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 | The type of the value associated with this key. |
Properties
tagKey
Source set: Android
@get:IdRes public val tagKey: Int
The Android Resource ID used as the tag key to retrieve the value from a View's tags.