title: How to know if a ImageView has changed?
body: <p>I have this Android Studio app  which has an ImageView with a drawable on it, then I click it and it opens whether the camera or gallery, you pick the picture and then ImageView changes to the picture the user choose.</p>
  
  <p>I am using this in a Create Account Activity, and when the user clicks the Create Account Button, It sends you a Warning if you haven't filled up all the fields, but, in the ImageView how can I check if it has a new picture?
  This is how my code is:</p>
  
  <pre><code>  btnCreateAccount.setOnClickListener(new View.OnClickListener() {
          @Override
          public void onClick(View v) {
  
              name = editTextName.getText().toString().trim();
              city = editTextCity.getText().toString().trim();
              email = editTextEmail.getText().toString().trim();
              password = editTextPassword.getText().toString().trim();
              birthday = editTextBirthday.getText().toString().trim();
              if (!email.isEmpty() &amp;&amp; !name.isEmpty() &amp;&amp; !password.isEmpty() &amp;&amp; !birthday.isEmpty() &amp;&amp; !city.isEmpty()) {
  
                  if (Here is supposed where i want to check if the imageView has changed)
                  {
  
                      Toast.makeText(CreateAccountActivity.this, "You havent choosed a image yet",
                              Toast.LENGTH_LONG).show();
                  }
  
                  Toast.makeText(CreateAccountActivity.this, "You filled up all the fields",
                          Toast.LENGTH_LONG).show();
              } else {
                  Toast.makeText(CreateAccountActivity.this, "there are some fields unfilled",
                          Toast.LENGTH_LONG).show();
  
              }
  
          }
      });
  </code></pre>