toolbar?.let { val textView: TextView = it.fi...
# android
t
toolbar?.let { val textView: TextView = it.findViewById(R.id.titleToolbar) textView.text = getString(R.string.tb_home) }
b
use the kotlin android extensions, could save you more than this. like
toolbar?.let { titleToolbar.text = getString(R.string.tb_home) }