Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 FM 应用程序中遇到问题。错误在下面的代码中:
String tmp=((editText)findViewById(R.id.editText1)).getText().toString();
该错误表示无法将 editText 解析为类型。这是什么意思以及如何解决它?
使用下线
EditText mEdttxt1=((EditText)findViewById(R.id.editText1)); String tmp= mEdttxt1.getText().toString();
代替