https://kotlinlang.org logo
#android
Title
# android
k

Klaas Kabini

05/04/2020, 11:34 AM
Can you do this in android? I want to make sure that the function accepts an IntArray of StringRes ids.
Copy code
fun foo(@StringRes clickablePhraseIds: IntArray){}
d

Drew Hamilton

05/04/2020, 12:40 PM
I’ve done this with a list and it seemed to work ok.
k

Klaas Kabini

05/04/2020, 12:44 PM
Thanks