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
[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 - Update model and refresh the view

Update model and refresh the view

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Update model and refresh the view

Postby MoxFulder » Sat Jun 06, 2009 11:09 pm

Hi there,

I follow the Checkboxlist tutorial and it works great. Nevertheless, I don't know the clean way to implement something that is easy.

When I long click on a row (view that contains checkbox and text), I want to remove that row. I have a longClick listener which ask a custom service to remove the row. After that, I have to manually ask the adapter (use getParent then cast to ListActvity, get the adapter and cast to my adapter type) to reload the data from my custom service and the view gets refreshed.

I don't think it is the right way to do that. I don't know where to ask my custom service and how to notify the adapter that the data have been changed.

Have you some examples or some ideas for this problem ?
Thanks a lot !
MoxFulder
Freshman
Freshman
 
Posts: 3
Joined: Sat Jun 06, 2009 11:04 pm

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 3 guests