The method getText() is undefined for the type String error

后端 未结 3 1489
野趣味
野趣味 2021-01-29 12:48
 String email = email.getText().toString();

Please help getting error The method getText() is undefined for the type String

3条回答
  •  终归单人心
    2021-01-29 13:10

    Change - String email = email.getText().toString() to

    String emailStr = email.getText().toString()
    

提交回复
热议问题