FREE TRIAL

|

☀
☾

ListView.TryReattach

TryReattach(ItemView)

If a list item was previously detached from the ListView (via TryDetach(ItemView, Transform)), this is a way to transfer ownership of listItem back to the ListView.

Remarks

The returned object is simply returned to the list item prefab pool for reuse, not inserted into view directly.

Declaration
public bool TryReattach(ItemView listItem)
Parameters
Type Name Description
ItemView listItem

The list item to re-attach, previously detached via Nova.ListView.TryDetach(Nova.ItemView,Transform)

Returns
Type Description
bool

true if listItem was previously detached from this ListView and can be attached/pooled. Otherwise returns false.

See Also
TryDetach(System.Int32, ItemView, UnityEngine.Transform)
TryDetach(ItemView, UnityEngine.Transform)
☀
☾
In This Article
Legal EmailContact Github
Copyright © 2022 Supernova Technologies, LLC