title: How to use notifyDataSetChanged with finish()
body: <p>I have a list view which show list of task, on selecting task it shows details about task, when I delete the particular task it returns to the previous activity by finish(). but it does not update the list.
  I want to know how and where to use notifyDataSetChanged method and add adapter method is never used.
  Other than notifyDataSetChanged() solution is also accepted :) i just want to update the list when it returns to the previous activity.</p>