안드로이드 개발 질문/답변
(글 수 45,052)
footer = getLayoutInflater().inflate(R.layout.custom_list_view, null, false);
ImageView imgRep = (ImageView) footer.findViewById(R.id.imgRep);
TextView txtRepText = (TextView) footer.findViewById(R.id.txtRepText);
TextView txtRepTime = (TextView) footer.findViewById(R.id.txtRepTime);
whiel("Array길이만큼") {
"Array가져온 값들을 imgRep, txtRepText, ttRepTime에 설정"
mainLayout.addView(footer);
}
대충 위와 같은 상황에서....
addView가 한 번은 실행 되는데... 반복하려니..
두번째에 에러가 나더라구요..
The specified child alread has parent . You must call remoeView() on child's parent first
어떻게 방법이 없을까요?



