@Override
 protected void onAttachedToWindow() {
   super.onAttachedToWindow();
   if (isInEditMode()) {
     return;
   }
   presenter.takeView(this);
 }
 @Override
 protected void onDetachedFromWindow() {
   super.onDetachedFromWindow();
   presenter.dropView(this);
 }