package com.myapp import android.content.Context fun getSomeText(context: Context) { context.getString(R.string.resource_id) }