@CalledByNative public void syncStateChanged(){
  if (!mListeners.isEmpty()) {
    for (    SyncStateChangedListener listener : mListeners) {
      listener.syncStateChanged();
    }
  }
}

@ CalledByNative public void syncStateChanged ( ) { if ( ! mListeners . isEmpty ( ) ) { for ( SyncStateChangedListener listener : mListeners ) { listener . syncStateChanged ( ) ; } } }
called when the state of the native sync engine has changed , so various ui elements can update themselves .
