sketchub icon

SNotification - Library

AbrorGo
57 Likes
9 Comments
578 Downloads

Screenshots

About

This library was fully created by me using sketchware pro.

IMPORTANT: you must enable AppCompat to ensure this library works fine in your project.

To send a notifications simply use these codes:

SNotification notification = new SNotification(MainActivity.this);
notification.setIcon(R.drawable.icon_name); // default is app_icon
notification.setTitle("Title here");
notification.setMessage("message here");
notification.setTargetClass(SecondActivity.class); // use this to open specific activity when notification clicked
notification.setNotificationId(001); // control how many notifications you want to send by ID's: like 90 for news, 34 for updates...etc.
notification.send();

You guys are not allowed to modify this library without any permission from me personally!

TO-DO in next version:

  • add big icon.
  • add large image.
  • add large text support.

Hussein Shakir © 2021.

©2025 Sketchub | User Policy