title: Difference between ContentUris.withAppendedId and Uri.buildUpon().appendPath
body: <p>I am a bit amateur and doing my android online course. I found these 2 different code snippets to append to an URI</p>
  
  <pre><code> public static Uri buildWeatherUri(long id) {
       return ContentUris.withAppendedId(CONTENT_URI, id);
   }
  </code></pre>
  
  <p>Here I get a URI with <strong>id</strong> appended to <strong>CONTENT_URI</strong></p>
  
  <pre><code>public static Uri buildWeatherLocation(String locationSetting) {
       return CONTENT_URI.buildUpon().appendPath(locationSetting).build();
   }
  </code></pre>
  
  <p>Here I get a URI with <strong>locationSetting</strong> appended to <strong>CONTENT_URI</strong></p>
  
  <p>I'm wondering whether both have the same functionality? </p>