public void unlinkModel(){
  mFactory.unregisterView(this);
  int max=mInputViews.size();
  for (int i=0; i < max; ++i) {
    InputView inputView=mInputViews.get(i);
    inputView.unlinkModel();
  }
  mTouchHandler=null;
  removeAllViews();
}

public void unlinkModel ( ) { mFactory . unregisterView ( this ) ; int max = mInputViews . size ( ) ; for ( int i = 0 ; i < max ; ++ i ) { InputView inputView = mInputViews . get ( i ) ; inputView . unlinkModel ( ) ; } mTouchHandler = null ; removeAllViews ( ) ; }
recursively disconnects the view from the model , and removes all views .
