title: How to automatically update view of the activity when the data changes?
body: <p>I want to Update Profile Picture in my app. Every Time User updates his profile picture. But the Problem is Profile picture is only updating when i restart the app after clearing the app from the memory.</p>
  
  <p>The code i want to implement automatically is placed in <strong>onCreate</strong> method.
  And the uploaded pic will always be from the internal Storage.   Code is Attached Bellow. </p>
  
  <pre><code>mImageView = findViewById(R.id.profile_Pic);
      ContextWrapper cw = new ContextWrapper(getApplicationContext());
      File directory = cw.getDir("imageDir", Context.MODE_PRIVATE);
      File myImageFile = new File(directory, "my_image.jpeg");
      Picasso.get().load(myImageFile).into(mImageView);
  </code></pre>
  
  <p>I want that the IMageView for the Profile pic is Always updated automatically when the user updates his/her dp.What Should i do or Where Should i place that code?</p>