私は2つのviewslayout_a.xmlとlayout_b.xmlを持っています。
layout_a と layout_b の中には、include別のビュー layout_header.xml を含む があります。
その layout_header には、textViewwhich display login user nameが含まれています。
ユーザー名はシングルトン クラスに格納されUserます。
activitylayout_header.xml を含むすべてのアプリではなく、ユーザー名を 1 回設定するにはどうすればよいですか?