What is the proper way to add an action to the notification in API 23
since addAction(int icon, CharSequence title, PendingIntent intent)
is deprecated ? Couldn't find any example, thank you.
My old action: .addAction(R.drawable.ic_prev, "Previous", prevPendingIntent)
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…