ViewTreeHostDefaultKey

Interface
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.
tagKey The Android Resource ID used as the tag key in android.view.View.getTag.