일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- datastore
- room
- 이미지 gps
- App Startup
- notification
- application
- ChromeCustomTab
- requestPermission
- Android
- LOG
- onReceivedSslError
- webview
- Plugins
- Blinking
- circlecrop
- notification bar
- jsontokotlinclass
- navigation component
- onResume
- BottomSheetDialog
- kdoc-generator
- prettyJson
- shotcut
- 403 Error
- Git
- ExifInterface
- skipcollapsed
- itemAnimator
- ActivityResultContracts
- notification setting
- Today
- Total
목록notification (2)
Debbi Story
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { val channel = NotificationChannel(channelData.id, channelData.name, NotificationManager.IMPORTANCE_DEFAULT) channel.enableVibration(true) channel.setShowBadge(true) notificationManager.createNotificationChannel(channel) }else { Intent("android.intent.action.BADGE_COUNT_UPDATE") .putExtra("badge_count", count) .putExtra("badge_count_package_na..
일반적인 notification은 swipe시 사라지지만 swipe해도 사라지지 않고 계속 고정으로 떠있는 커스텀 notification은 만들어 보겠습니다. val contentIntent = Intent(context, MainActivity::class.java) contentIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP or Intent.FLAG_ACTIVITY_NEW_TASK) val contentPendingIntent = PendingIntent.getActivity( context, 123, contentIntent, PendingIntent.FLAG_UPDATE_CURRENT ) val refreshIntent = Intent(context, Noti..