Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24374] Android: View Animation in ListView doesn't work

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionWon't Fix
Resolution Date2018-01-21T08:35:00.000+0000
Affected Version/sRelease 6.0.0, Release 6.0.1
Fix Version/sn/a
ComponentsAndroid
Labelsn/a
Reporter Ricardo Ramirez
AssigneeUnknown
Created2017-02-06T18:08:05.000+0000
Updated2018-05-16T21:42:34.000+0000

Description

Issue description

Trying to animate view in ListView is working fine in iOS, whereas it is not showing any effect in Android.

Steps to reproduce

Download the testcase

Run on device or simulator

Click on the red box in the row

The animation is not starting

Attachments

FileDateSize
TestListAnimation.zip2017-02-06T18:07:58.000+000010476137

Comments

  1. Samir Mohammed 2017-02-07

    I can reproduce this issue, when I try to click on the red boxes no animation takes places. I can also Verify it is working as expected on iOS. *Environement*
       Appcelerator Command-Line Interface, version 6.1.0
       Nexus 6p (Android 7.1)
       Operating System Name: Mac OS X El Capitan
       Operating System Version: 10.11.6
       Node.js Version: 4.6.0
       npm: 4.2.8
       Titanium SDK Version: 6.1.0.v20170206114448
       Xcode: 8.2
       Appcelerator Studio: 4.8.1.201612050850
       
  2. Eric Merriman 2017-02-15

    According to the docs, this is an iOS- only item:
       updateItemAt( index, dataItem, [animation] )
       Updates an item at the specified index.
       
       On iOS, the list item can be updated with an animation by specifying the animation parameter.
       
       Parameters
       index : Number
       Index of where to update the item.
       dataItem : ListDataItem
       List item to update.
       animation : ListViewAnimationProperties (optional)
       Animation properties. (iOS only.)
       Returns void
       
    https://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.ListSection
  3. Eric Merriman 2017-02-15

    We are investigating the possibility of adding this as a feature, but it looks like it will take a significant effort. We will scope this out and estimate completion.
  4. Ajith Rohini 2017-04-11

    [~emerriman] On todays call with ABC, they asked if its possible to get this resolved ASAP.
  5. Hans Knöchel 2018-01-21

    Resolving as discussed above.
  6. Abir Mukherjee 2018-05-16

    Closing, as Reporter is okay with resolution.

JSON Source