0
There I am with a doubt, as I do to, modify the source from within a Fragment?
tvAgradecimento.setText("Teste")
tvAgradecimento.setTypeface(Typeface.createFromAsset(tvAgradecimento.context.assets, "dinpro_medium.ttf"))
ERROR
java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference
at br.com.adrianofpinheiro.testesantander.fragment.ContatoEnviadoFragment.onCreateView(ContatoEnviadoFragment.kt:36)