Parse-SDK-Android
                                
                                 Parse-SDK-Android copied to clipboard
                                
                                    Parse-SDK-Android copied to clipboard
                            
                            
                            
                        Need control over Notification IDs (for updating the notification later)
I think it's a common requirement to update a Notification that has already been issued. Currently, all you can do is override getNotification() in order to add on top of the NotificationCompat.Builder object. But in order to update a notification you need its id, which Parse issues from ParseNotificationManager singleton and clients have no control over the notification id nor they can save it for later reference. Currently it sets the id with a timestamp.
 int notificationId = (int) System.currentTimeMillis();
The problem is, sometimes it might require to change the notification ID to something that clients can save/retrieve.
What would be ideal: Let the client override showNotification() the same way as getNotification(). Then we can take care of dispatching notification and setting its id as we like. Even better: Give us a method getNotificationId() that we can override and set our own IDs that we have reference to.
Library version: 1.20.0
Sounds good! Feel free to make a PR with this change!