Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Animation on Views inside ListView rows, problem.

Animation on Views inside ListView rows, problem.

Problems with Canvas, OpenGL, etc...

Animation on Views inside ListView rows, problem.

Postby alexm » Sun Jul 04, 2010 12:01 pm

I have a ListView with 2 bits of information inside a TextView and an ImageView.

I want to update the image not the whole row (by fading the old image out and the new image in), this works fine as long as there is only 1 row in the ListView.

If I add another row in the ListView the animation no longer works.

Has anyone had something similar?
alexm
Junior Developer
Junior Developer
 
Posts: 14
Joined: Tue Jun 22, 2010 7:34 am

Top

Re: Animation on Views inside ListView rows, problem.

Postby alexm » Sun Jul 04, 2010 1:29 pm

I had class which contained View information in, when the ListView got regenerated it ended referencing an old object. Working fine now.
alexm
Junior Developer
Junior Developer
 
Posts: 14
Joined: Tue Jun 22, 2010 7:34 am

Re: Animation on Views inside ListView rows, problem.

Postby padde » Sun Jul 04, 2010 3:34 pm

Yep this is due to the view recycling to boost performance :)
padde
Master Developer
Master Developer
 
Posts: 443
Joined: Wed Apr 08, 2009 4:52 pm

Top

Return to Android 2D/3D Graphics - OpenGL Problems

Who is online

Users browsing this forum: No registered users and 6 guests