Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Is It possible to animate a view inside a ListItem?

$
0
0

I'm using a ListView Object that's fed with some data. In the template for that ListView, one of the views is an indicator that the value changed. Whenever I change an Item in the ListView, i set this view's opacity to show the person which Items were modified in the List.

What I would like to do is that this View had a Fade Out animation, so It would result in a Blink visual for the view in the list item.

I tried tying a postlayout event for that view in the template so I could execute an animation on the e.source(the view that had the opacity changed), but that doesn't work. Seems like that eventing a child view to postlayout on the ItemTemplate for the ListView does not work. The event does not Fire when I change the Item to have the view's opacity set to 1.

I Also tried to access the views through getItemAt(), but this function gives U access to the dictionary of the Item's properties for the applied template, not the views inside It.

Anyone can imagine a solution to this?


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>