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

dmitriy.m

09/29/2016, 3:42 PM
Hello, i made an extension func for
Conductor
like
Copy code
fun Controller.getString(@StringRes resId: Int, vararg formatArgs: Any): String {
    return resources.getString(resId, arrayOf(formatArgs))
}
but it shows me string like
[formatted string]
(with braces inside) maybe someone faced with the same problem? P.S. if i pass just
formatArgs
directly it prints
Object.toString