geosolutions-it/MapStoreMobile — pull request #28 by RoProducts (2014-10-03 17:22:32+00:00)
Title: edit icon fix

Other then we thought, it is not sufficient to remove the "inediting" flag from onResume as then no entry is marked as being edited until the database is reloaded, which wont happen when coming back from the detail view.

Hence I added a Broadcastreceiver in PendingMissionListActivity, which listens to the event that an item was edited and saved to the database. It then sets a flag in PendingMissonListFragment which will set this item to "inEditing" when coming back to the fragment.

This should solve the issue. Did not see that you use Broadcastreceivers alot, I like them. If there is an easier way to communicate that event we can discuss it.