title: Android SyncAdapter: how to get notified of specific sync happened
body: <p>I have the following scenario.</p>
  
  <p>I use a SyncAdapter in my app to download data from a server.</p>
  
  <p>When the user opens the app I call <code>requestSync()</code> to make sure the latest data are available.</p>
  
  <p>When the user requests it I call again <code>requestSync()</code> passing a bundle of the specific datum I want to download.</p>
  
  <p>The problem is the following: </p>
  
  <p>I can use a <code>SyncStatusObserver</code> to get notified about the status of the download, but that will not tell me which sync is completed:</p>
  
  <p>For example: </p>
  
  <ul>
  <li><p>at app start I start a <strong>"Total"</strong> sync, </p></li>
  <li><p>then the user requests a refresh on a specific datum, hence I launch a <strong>"Specific sync of datum foo"</strong>, </p></li>
  <li><p>the <code>SyncStatusObserver</code> will tell me that a sync is pending/active, but won't tell me if that is the <strong>"Total"</strong> sync or the <strong>"Specific sync of datum foo"</strong></p></li>
  </ul>
  
  <p>How can i do it?</p>
  
  <p>Is intent broadcast the only way?</p>