I have a Notification in my android application. And this Notification has a progress bar.
My question is: if I update progress in the progress bar of my Notification, should I pass the SAME instance of Notification or create a new instance of Notification?
should I do this:
mNotification = new Notification(..); // create in the constructor of my activity
getNotificationManager().notify(TAG, FILE_UPLOAD_ID, mNotification);
or
getNotificationManager().notify(TAG, FILE_UPLOAD_ID, new Notification(...) );
The same.