public void onUpdateNotification ( NotificationView view , View contentView , NotificationEntry entry , int layoutId ) { if ( DBG ) Log . v ( TAG , "onUpdateNotification - " + entry . ID ) ; final Drawable icon = entry . iconDrawable ; final CharSequence title = entry . title ; final CharSequence text = entry . text ; final CharSequence when = entry . showWhen ? entry . whenFormatted : null ; ChildViewManager mgr = view . getChildViewManager ( ) ; mgr . setImageDrawable ( ICON , icon , false ) ; mgr . setText ( TITLE , title , false ) ; mgr . setText ( TEXT , text , false ) ; mgr . setText ( WHEN , when , false ) ; }
Called when a notification is being updated .