EditText 10개를 찾으실 때 findViewBy를 10번 해야 되니까, 이걸 해결하고 싶으신건가요?
제가 맞게 이해했다는 전제하에 답변을 하겠습니다.
텍스뷰를 LinearLayout같은 뷰그룹 안에 넣으시구요, 그 뷰그룹 안에 있는 텍스뷰를 찾으시면 됩니다.
final ViewGroup container = findViewById<ViewGroup>(viewGroupIdContainsTextViews);
int count = container.getChildCount();
int charIndex = 0;
for (int i = 0; i < count; i++) {
final View child = getChildAt(i);
if (child instanceof TextView) {
TextView tv = (TextView) child;
tv.setText(s.charAt(charIndex++));
}
}
try - catch로 index 예외를 처리하시거나 TextView의 갯수와 표시하려는 문자열의 숫자를 체크하시는 것도 잊지 마시구요.