@@ -0,0 +1,825 @@
+package com.example.android.sunshine.app.sync;%0A%0Aimport com.google.android.gms.wearable.DataEvent;%0Aimport com.google.android.gms.wearable.DataEventBuffer;%0Aimport com.google.android.gms.wearable.WearableListenerService;%0A%0Apublic class SunshineWearListenerService extends WearableListenerService %7B%0A%0A    public static final String WEAR_SYNC_REQUEST = %22/SunshineWearListenerService/Sync%22;%0A%0A    @Override%0A    public void onDataChanged(DataEventBuffer dataEvents) %7B%0A        for (int i = 0; i %3C dataEvents.getCount(); i++) %7B%0A            DataEvent event = dataEvents.get(i);%0A%0A            if (event.getType() == DataEvent.TYPE_CHANGED &&%0A                    event.getDataItem().getUri().getPath().equals(WEAR_SYNC_REQUEST)) %7B%0A                SunshineSyncAdapter.syncImmediately(getApplicationContext());%0A            %7D%0A        %7D%0A    %7D%0A%7D%0A

add ListenerService.