1
- # Frogo Notification Helper (work-in-progress 👷🔧️👷♀️⛏)
1
+ # Frogo Notification (work-in-progress 👷🔧️👷♀️⛏)
2
+ Beta Release
2
3
3
4
# About This Project
4
5
SDK for anything your problem to make easier developing android apps
@@ -7,11 +8,12 @@ frogo-notification is under huge large development
7
8
# Version Release
8
9
This Is Latest Release
9
10
10
- $version_release = development
11
+ $version_release = 1.0.0
11
12
12
13
What's New??
13
14
14
- * Development *
15
+ * Notification with singleton method *
16
+ * Simple and eazy to use *
15
17
16
18
# Download this project
17
19
@@ -30,9 +32,30 @@ What's New??
30
32
31
33
dependencies {
32
34
// library frogo-notification
33
- implementation "Coming Soon"
35
+ implementation 'com.github.amirisback:frogo-notification:1.0.0'
34
36
}
35
37
38
+ ### Step 3. Implement frogo-notification
39
+
40
+ val intent = Intent(Intent.ACTION_VIEW, Uri.parse("https://github.com/amirisback"))
41
+ val pendingIntent = PendingIntent.getActivity(this, 0, intent, 0)
42
+
43
+ val frogoNotification = FrogoNotification.Inject(this)
44
+ .setNotificationId(NOTIFICATION_ID)
45
+ .setChannelId(CHANNEL_ID)
46
+ .setChannelName(CHANNEL_NAME)
47
+ .setResoures(resources)
48
+ .setContentIntent(pendingIntent)
49
+ .setSmallIcon(R.drawable.ic_frogo_notif)
50
+ .setLargeIcon(R.drawable.ic_frogo_notif)
51
+ .setContentTitle(resources.getString(R.string.content_title))
52
+ .setContentText(resources.getString(R.string.content_text))
53
+ .setSubText(resources.getString(R.string.subtext))
54
+ .setAutoCancel(true)
55
+ .build()
56
+
57
+ frogoNotification.launch() // notify (show the notification)
58
+
36
59
# Colaborator
37
60
Very open to anyone, I'll write your name under this, please contribute by sending an email to me
38
61
0 commit comments