Merge "docs: Added call to build to code snippet" into nyc-dev

This commit is contained in:
Eric Schmidt
2016-07-19 18:56:09 +00:00
committed by Android (Google) Code Review

View File

@@ -395,5 +395,6 @@ Notification notification = new Notification.Builder()
.addMessage("Hi", timestamp1, null) // Pass in null for user. .addMessage("Hi", timestamp1, null) // Pass in null for user.
.addMessage("What's up?", timestamp2, "Coworker") .addMessage("What's up?", timestamp2, "Coworker")
.addMessage("Not much", timestamp3, null) .addMessage("Not much", timestamp3, null)
.addMessage("How about lunch?", timestamp4, "Coworker")); .addMessage("How about lunch?", timestamp4, "Coworker"))
.build();
</pre> </pre>