Android Question NB6 AddButton duplicate

SMOOTSARA

Active Member
Licensed User
Longtime User
Hi everyone.

i create 2 button for notification.
when send first notification ,my notification work good and have 2 button.


1603037587054.png



but when send second notification or three my notification make another button


1603037628195.png






B4X:
Sub Makenotification
    

    nb6lib.AutoCancel(False)
    nb6lib.SmallIcon(smiley)
    nb6lib.BigPictureStyle(BigPushIcon,baneer, BigContentTitel, BigSummaryText)

    nb6lib.AddButtonAction(Null,s1,Me,"tag_click_positive")
    nb6lib.AddButtonAction(Null,s2,Me,"tag_click_negative")
    
    nb6lib.DeleteAction(Me,"tag_Delete_push")
    notification1=nb6lib.Build(SmalContentTitle, SmalContentText, "FirebaseMessaging1_notification",Me ) 'It will be Main (or any other activity) instead of Me if called from a service.
    notification1.Notify(1)
        
    
End Sub
 

Similar Threads

Top