@Override
 protected void onFinishInflate() {
   super.onFinishInflate();
   getListView().setAdapter(mAdapter);
   getListView().setLayoutManager(new LinearLayoutManager(getContext()));
   mPresenter.takeView(this);
 }
 @Override
 protected void onDetachedFromWindow() {
   super.onDetachedFromWindow();
   mPresenter.dropView(this);
 }