Question:
My main activity code is herebut when I click the Save Button(R.id.save) the textview is being displayed as null. Where am I going wrong?
Answer:
Using onlymEditText.text
returns the Editable
not String
, try below code:If you have better answer, please add a comment about this, thank you!