There is the code:
Notification notification = new Notification.Builder(this).setContentTitle("New mail from").setContentText("Text")
.setSmallIcon(android.R.drawable.btn_plus).setLargeIcon(Bitmap.createBitmap(20, 20, null))
.build();
The error reads:
The method build() is undefined for the type Notification.Builde.
I get this code from Google example. What I am doing wrong?