Reputation: 3438
I am a newbie in Kotlin, sorry for the silly question.
Inside a bundle from a StatusBarNotification
object I have found an array of CharSequence
, or at least I think that the type is that one. In the image you can see a screenshot which shows the output that I get when I evaluate the variable from within a breakpoint (in Android Studio "Debug" window->Evaluate).
I have tried accessing .javaClass.kotlin
but I get an error so I am not sure about the type, is it an array of CharSequence
?
Nevertheless, I am trying to join those strings that you see in the image into a single string. I have tried calling .toString
, but it does not work, and I have tried a bunch of other methods to join elements from "iterable variables", but with poor luck.
Any help is appreciated.
Upvotes: 0
Views: 662