title: How to open a specific activity based on Notification
body: <p>I am currently working on a reminders app in which the user gets a notification with the name of the reminder and is then redirected to an activity which contains the text of the reminder in detail. 
  I am however, only able to redirect to the same activity each time. 
  I am using this code :</p>
  
  <pre><code>PendingIntent contentIntent = PendingIntent.getActivity(this, 0, new Intent(this, MainActivity.class), 0);
  notification.setLatestEventInfo(this, title, text, contentIntent);
  </code></pre>
  
  <p>So this redirects to the MainActivity on clicking the notification. I would like to redirect to a separate screen and then based on a key value display a text on that activity.
  How do I achieve this ?</p>
  
  <p>Thanks </p>