View 에 사용한 메모리를 recycle 을 하고싶습니다..

아래와 같이 했을 경우.. 에러가 발생 됩니다..

물론 제가 쓴 방법이 당연하게 틀린것이겠지요 ..;;;

그래서 펍 이용자님들에게 질문을 여쭤봅니다..

recycle을 하려면 어떤식의 수정이 필요할까요?

public void onClick(View v){
if(v.getId()==R.id.btn){
Intent intent=new Intent(this,Dosirasol.class);
startActivity(intent);
finish();

try {
if(v != null) {
v.recycle();
}
}

error======

 

aaaa.png