Friday, July 10, 2015

Android: The method bigText(CharSequence) in the type NotificationCompat.BigTextStyle is not applicable for the arguments (int)


Error: The method bigText(CharSequence) in the type NotificationCompat.BigTextStyle is not applicable for the arguments (int)


Solution: use method getString()

Example:

// bigText(i)

bigText(getString(i))

No comments:

Post a Comment