I have activity A which have a ListView with custom adapter.
The custom adapter (which aplies to each list view item) have a button which invokes a custom dialog.
in this dialog an action is being performed which in response i want to invoke UI update on activity A.
This is my activity on resume code:
@Override
public void onResume()
{
super.onResume();
setUI();
}
But when the i call
dialog.dismiss();
The dialog closes without the Activity A OnResume method benig invoked.
How can i catch and update the activity ui?