package com.example.myapplication4__26; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent

动态 未结 0 82
小小草
小小草 LV1 2023年9月23日 23:40 发表
在onCreate方法中,应该使用findViewById方法来获取EditText控件的引用,而不是直接调用findViewById方法。正确的代码应该是: et_receiver = findViewById(R.id.et_receiver); et_content = findViewById(R.id.et_content);
收藏(0)  分享
相关标签: 智能问答
问题没解决?让AI助手帮你作答 AI助手
0个回复
  • 消灭零回复