0
0

【自分用メモ】「TextView.text = ″文字列″」と「TextView.append( ″文字列″)」の違い

Posted at

執筆中。帰宅後に追記。

「TextView.text = ″文字列″」は
TextViewに文字列を『そのまま入れる』

「TextView.append(″文字列″)」は
TextViewに文字列を『追記する』

以下の天気アプリのコードのように

「TextView.text = ″文字列″」のパターンと「TextView.append(″文字列″)」のパターンでは画面の表示のされ方に違いが出る。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0