안녕하세요.

궁금한점이 있어서 글 올립니다.

xml에 뷰를 설정해 놓고

View nameview = (View) v.findViewById(R.id.View01);

받으면 괜찮은데

private class MyView extends View

View nameview = (View) v.findViewById(R.id.View01);

로 받으면 문제가 생기네요.

원래 이렇게 사용할 수 없는건인지 궁금합니다.