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.
すべてのリストアイテムに1つの画像と4つのテキストビューがあるリストビューがあります。リストとアイテムのリストを変更せずに、2つのテキストビューのみを変更したい。これらのテキストビューは毎秒変更されます。アンドロイドで可能ですか?
listViewのテキストアイテムは次のように更新できます。
private void updateText(int index){ View v = ListView.getChildAt(index); TextView updatedText = (TextView) v.findViewById(R.id.txt_view); updatedText .setText("changed Text"); }