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 !