Only safe call allowed error when EditText is used to send string to firebase in android studio
I am new to Firebase. I have made a simple project which sends user strings to Realtime Database in Firebase. For input, I have used the EditText view. Here is my main activity. username is the id of EditText View…