Viewpager로 뛰운 Fragment Activity 1, 2, 3이 있습니다.
MainActivity에서 Fragment Activity 1에 있는 Textview의 값을 수정하고 싶습니다.
LayoutInflater inflater = (LayoutInflater) getApplication().getSystemService(LAYOUT_INFLATER_SERVICE);
View v = inflater.inflate(R.layout.page_second, null);
tv_Temperature = (TextView) v.findViewById(txt_Temperature);
tv_Temperature.setText("aaaaa");
이런 식으로 했는데 수정이 안되요.
안드로이드 신이시여, 도와주세요.