Skip to content

Commit

Permalink
update code - licenses accepted and downloaded all items
Browse files Browse the repository at this point in the history
  • Loading branch information
Reza Amuzadeh committed Jan 19, 2019
1 parent 1adea8d commit df13b1b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions app/src/main/java/ir/vasl/magicalnotifierapp/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -153,4 +153,17 @@ private void showNotificationWithUpdate() {
magicalNotifier.getBuilder().notifyTitle(notificationId, "Title updated ;)");
}

private void showNotificationWithUpdateSubTitle() {

int notificationId = 7575;
MagicalNotifier magicalNotifier = new MagicalNotifier.Builder(this)
.setNotificationId(notificationId)
.setTitle(NOTIFICATION_TITLE)
.setSubTitle(NOTIFICATION_SUB_TITLE)
.show();

// update
magicalNotifier.getBuilder().notifySubTitle(notificationId, "subTitle updated ;)");
}

}

0 comments on commit df13b1b

Please sign in to comment.