Code example for Notification

Methods: setLatestEventInfo

            this.text = text;
   = info;
    public static class Builder { 
        public static final String INFO_MARKER_TEXT = "MARKER:INFO";
        private final Context context;
        private final StatusBarNotificationStyles notificationStyles;
        public Builder(Context context) {
            this.context = context;
            this.notificationStyles = new StatusBarNotificationStyles(context);
        public ProgressNotification generateRawProgressNotification(OpNotification opn,int backupLayout, TextViewIds backupLayoutViewIds) {
            return (SDK_INT >= ICE_CREAM_SANDWICH)?
                    generateUsingICS(opn):generatePreICS(opn, backupLayout, backupLayoutViewIds);
Connect your IDE to all the code out there  Get Codota for Java