title: How to i Push a Notification from android 8,9
body: <p>i try all codes and i try official code from google But Nothing work on my Device and Emulator </p>
  
  <p>i get a Many code from YouTube and Google and Many Blogs But Nothing work too</p>
  
  <p>// i try that  </p>
  
  <pre><code>     NotificationManager notificationManager
   = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);    
     Notification notification = new 
  Notification.Builder(MainActivity.this)
  
         .setContentTitle("This is a Notification")
         .setContentText("Please pay Your Attention here..!")
  
        .setSmallIcon(R.drawable.ic_launcher_foreground)
  
        .setAutoCancel(true)
  
         .build();
        notificationManager.notify(CHANNEL_ID1,notification);
             }
                     });
  </code></pre>
  
  <p>// and try that</p>
  
  <pre><code>  NotificationCompat.Builder builder = 
    new NotificationCompat.Builder(this, 
    CHANNEL_ID)
  
      .setSmallIcon(R.drawable.notification_icon)
  
      .setContentTitle(textTitle)
  
      .setContentText(textContent)
  </code></pre>
  
  <p>.setPriority(NotificationCompat.PRIORITY_DEFAULT); </p>
  
  <p>//Nothing work</p>
  
  <p>the code should Push a Notification on android 8 and 9  </p>
  
  <p>and be better if get too one work from android 4.4</p>