Animate a table row's visibility

  1. 9 months ago

    Garry P

    12 Dec 2018 Pre-Release Testers, Xojo Pro Europe (Torquay, UK)

    On iOS, is it currently possible to animate table rows? For instance, can you animate the appearance of a new row in the middle of an existing group? An example of this behaviour is in the iOS Calendar app when you are creating a new event. If you tap a start or end date the date picker control animates down as a new row.

    -image-

    I don't mind using a 3rd party solution is necessary.

    Thanks,

  2. Jeremie L

    13 Dec 2018 Pre-Release Testers, Xojo Pro, XDC Speakers Europe (France) - getpackr.io

    I think this is automatic since Xojo 2018r3

  3. Garry P

    13 Dec 2018 Pre-Release Testers, Xojo Pro Europe (Torquay, UK)

    I think you may be right - looks like it may have been added in Xojo 2018 r2: OSCustomTableCell.UseDynamicHeight.

  4. Jeremie L

    13 Dec 2018 Pre-Release Testers, Xojo Pro, XDC Speakers Europe (France) - getpackr.io

    UseDynamicHeight is different from animation.

    But yes animation was added in 2018r2:

    52118 Framework » iOS Inserting or Removing a row/section within the visible rows on an iOS table is now animated.

    http://developer.xojo.com/2018r2-release-notes

    Which is a feature I would like to disable, but Xojo doesn't give the option.

  5. Greg O

    13 Dec 2018 Xojo Inc

    @Jeremie L Which is a feature I would like to disable, but Xojo doesn't give the option.

    As I recall, the animation only plays if you use insertrow or removerow. I think you should be able to avoid the animation by just reloading the table. (I did this by accident one day)

or Sign Up to reply!