@Override
    void showDetail(int position) {
      clearMultiChoice();
      detailEmptyView.setVisibility(View.GONE);
      detailSource.startUpdate(detailTarget);

      if (lastPosition > -1) {
        detailSource.destroyItem(detailTarget, lastPosition, handle);
      }

      lastPosition = position;

      handle = detailSource.instantiateItem(detailTarget, position);
      detailSource.finishUpdate(detailTarget);
    }
    private void clearDetail(boolean showEmptyView) {
      clearMultiChoice();
      detailSource.startUpdate(detailTarget);

      if (lastPosition > -1) {
        detailSource.destroyItem(detailTarget, lastPosition, handle);
      }

      lastPosition = -1;

      detailSource.finishUpdate(detailTarget);

      if (showEmptyView) {
        detailEmptyView.setVisibility(View.VISIBLE);
      }
    }
 @Override
 public void startUpdate(ViewGroup container) {
   super.startUpdate(container);
 }
 @Override
 public void startUpdate(ViewGroup container) {
   // TODO Auto-generated method stub
   super.startUpdate(container);
 }
 @SuppressWarnings("deprecation")
 @Override
 public void startUpdate(View container) {
   // TODO Auto-generated method stub
   super.startUpdate(container);
 }