SmoothItemSetter only updates after first item gets created

Issue #64 resolved
Christian Oeing repo owner created an issue

From the forum: "SmoothItemSetter components currently also wait until the first item gets created, which look like an error under certain circumstances. For example when the list changes on-the-fly and not only when a ui-window opens.

Would you implement a boolean or something else so that the user has control of this behavior?"

Comments (5)

  1. Christian Oeing reporter

    Ruben from Mobile Monsters created the issue and will send me his updated version of the SmoothItemSetter so I can add it to the asset.

  2. Christian Oeing reporter

    There is no delay by design before the first item is added. But when removing all items (without doing a clear) this may lead to the timer still being set.

  3. Christian Oeing reporter

    Fixed it in SmoothCollectionChangesFormatter and in the (now obsolete) SmoothSlotItemsSetter and SmoothLayoutGroupItemsSetter. The setters shouldn't be used anymore, but instead their base class plus the SmoothCollectionChangesFormatter as the data provider. Otherwise there's too much code duplication.

  4. Log in to comment