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.
Android アプリのメイン アクティビティで次のコードを使用しましたが、ユーザー名の値は 5 しかありません。textid + 5 の値を取得するにはどうすればよいですか? 私を助けてください。どうすればいいですか?
TextView username = (TextView) findViewById(R.id.textid); username.setText("" + 5);
私はあなたがこれを探していると思います:
username.setText(username.getText().toString() + 5);