Back to project page umbrella.alert.
The source code is released under:
GNU General Public License
If you think the Android project umbrella.alert listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package macbury.umbrella.receiver; /*www. j a v a2s . c o m*/ import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import macbury.umbrella.managers.IntentsManager; import macbury.umbrella.service.CheckWeatherService; /** * Created by macbury on 27.08.14. */ public abstract class SyncStatusBroadcastReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { CheckWeatherService.SyncStatus status = (CheckWeatherService.SyncStatus)intent.getSerializableExtra(IntentsManager.EXTRA_SYNC_STATUS); onSyncStatus(status); } public abstract void onSyncStatus(CheckWeatherService.SyncStatus status); }