androidandroid-edittextincompatibilityandroid-textinputedittext

error: incompatible types: AppCompatEditText cannot be converted to String


I want to send data from registration From to the Firebase. I used the design library and used appcompactEditTex instead of simple EditText


Solution

  • Use editText.getText().toString() to get the actual string