diff --git a/Runtime/RecyclerView/Adapter/ItemRender.cs b/Runtime/RecyclerView/Adapter/ItemRender.cs index 7afc627..bf77b1d 100644 --- a/Runtime/RecyclerView/Adapter/ItemRender.cs +++ b/Runtime/RecyclerView/Adapter/ItemRender.cs @@ -344,11 +344,7 @@ namespace AlicizaX.UI /// protected virtual void OnHolderAttached() { - interactionProxy = Holder.GetComponent(); - if (interactionProxy == null) - { - interactionProxy = Holder.gameObject.AddComponent(); - } + } /// @@ -415,6 +411,11 @@ namespace AlicizaX.UI this.selectionHandler = selectionHandler; interactionBindingActive = false; cachedInteractionFlags = ItemInteractionFlags.None; + interactionProxy = Holder.GetComponent(); + if (interactionProxy == null) + { + interactionProxy = Holder.gameObject.AddComponent(); + } OnHolderAttached(); }