Created
May 4, 2015 07:01
-
-
Save Aiur3908/3c2f5e1098f6f0457d94 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NotificationCompat.Builder notifcaition = | |
new NotificationCompat.Builder(this) | |
.setSmallIcon(R.drawable.ic_launcher) | |
.setContentTitle("標題") | |
.setGroup("News") | |
.setContentText("內容"); | |
//setGroup 設定同一個Key即可 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment