commons/ui / com.vmadalin.commons.ui.extensions / android.content.Context / getString

getString

fun Context.getString(@StringRes resId: Int?): String

Get resource string from optional id

Parameters

resId - Resource string identifier.

Return
The key value if exist, otherwise empty.