title: unable to use utility method to check if multiple edittext are empty with custom correct edittext id in output toast
body: <p>Thanks for reading this
  I am having difficulty  a utility method meant to read all 20 edittexts and check if they are empty and return custom toast messages for instances of each editText being empty
  The utility method is called inside my onclicklistener as seen below. Its called checkEmpty</p>
  <pre><code>  btnRequest.setOnClickListener(new View.OnClickListener() {
              @Override
              public void onClick(View view) {
                  if (checkEmpty(etPickupLocation, getActivity())) return;
  
              }
          });
  </code></pre>
  <p>see checkempty below</p>
  <pre><code>  public static boolean checkEmpty(EditText myEditText, Context context) {
          String editTextIdInt= String.valueOf(myEditText.getId());
          Log.d(TAG, &quot;checkEmpty: editTextIdInt&gt;&gt; &quot;+ myEditText.getId());
          String editTextIdStr = context.getString(Integer.parseInt(editTextIdInt));
          Log.d(TAG, &quot;checkEmpty: editTextIdStr &gt;&gt;&quot;+ editTextIdStr);
  
          if (myEditText.getText().toString().trim().length() == 0) {
              Toast.makeText(context, editTextIdStr+&quot; is missing.&quot;, Toast.LENGTH_SHORT).show();
              return true;
          }
          return false;
      }
  </code></pre>
  <p>The issue is : I want to return the id of the editTextResource (etPickupLocation) as the second log output but instead i keep getting false</p>
  <p>log output</p>
  <pre><code>2020-09-20 10:33:21.556 11445-11445/com.packagename.clasname D/UTILITYLOG: checkEmpty: editTextIdInt&gt;&gt; 2131230927
  2020-09-20 10:33:21.556 11445-11445/com.packagename.clasname D/UTILITYLOG: checkEmpty: editTextIdStr &gt;&gt;false
  </code></pre>
  <p>All I want is to get the id of the editext bein passed into the method so i can return the right toast method
  or is there a better approach to doing this?
  Help me out guys</p>