Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/quintuslabs/notificationhelper
This is android Library to help show Notification in any device
https://github.com/quintuslabs/notificationhelper
android android-library notificationhelper notifications
Last synced: about 2 months ago
JSON representation
This is android Library to help show Notification in any device
- Host: GitHub
- URL: https://github.com/quintuslabs/notificationhelper
- Owner: quintuslabs
- Created: 2018-11-24T04:23:48.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-23T10:31:46.000Z (almost 6 years ago)
- Last Synced: 2024-11-08T20:39:49.860Z (3 months ago)
- Topics: android, android-library, notificationhelper, notifications
- Language: Java
- Size: 305 KB
- Stars: 3
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NotificationHelper
This is android Library to help show Notification in any device
To get a Git project into your build:Step 1. Add the JitPack repository to your build file
- Gradle
```sh
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
```
Step 2. Add the dependency
```sh
dependencies {
implementation 'com.github.quintuslabs:NotificationHelper:2.1'
}
```
Step 3. Show Notification:Small Notification
----```sh
Intent intent = new Intent(YourActivity.this,TargetActivity.class);NotificationHelper notificationHelper = new NotificationHelper(getApplicationContext());
notificationHelper.createNotification("Test","Test Message",R.drawable.ic_luncher,intent);
```
Big Notification
----```sh
Intent intent = new Intent(YourActivity.this,TargetActivity.class);NotificationHelper notificationHelper = new NotificationHelper(getApplicationContext());
notificationHelper.createNotification("Test","Test Message",R.drawable.ic_luncher,"imageUrl",intent);
```
ScreenShot
----License
----MIT
**Free Software**