@@ -0,0 +1,1298 @@
+package com.vikashkothary.life.util;%0A%0Aimport android.app.Dialog;%0Aimport android.app.Notification;%0Aimport android.app.ProgressDialog;%0Aimport android.content.Context;%0Aimport android.support.annotation.StringRes;%0Aimport android.support.v4.app.NotificationManagerCompat;%0Aimport android.support.v7.app.AlertDialog;%0A%0Aimport com.vikashkothary.life.R;%0A%0Apublic final class NotificationFactory %7B%0A%0A    private static final int NOTIFICATION_ID = 0;%0A%0A    public static void createSimpleNotification(Context context, String title, String message) %7B%0A        Notification.Builder notification = new Notification.Builder(context)%0A                .setContentText(title)%0A                .setContentText(message)%0A                .setSmallIcon(R.mipmap.ic_launcher);%0A        NotificationManagerCompat managerCompat = NotificationManagerCompat.from(context);%0A        managerCompat.notify(NOTIFICATION_ID, notification.build());%0A    %7D%0A%0A    public static void createSimpleNotification(Context context,%0A                                                   @StringRes int titleResource,%0A                                                   @StringRes int messageResource) %7B%0A%0A        createSimpleNotification(context,%0A                context.getString(titleResource),%0A                context.getString(messageResource));%0A    %7D%0A%7D%0A

Create NotifcationFactory util class