return mAdapter.getItemViewType(origPos);
}
}
protected int getOriginalContentPosition(int position) {
int noOfAds = getAdsCountToPublish();
<BUG>int adSpacesCount = position / (getNoOfDataBetweenAds() + 1);
return position - Math.min(adSpacesCount, noOfAds);

}</BUG>
protected boolean canShowAdAtPosition(int position) {

return mAdapter.getItemViewType(origPos);
}
}
protected int getOriginalContentPosition(int position) {
int noOfAds = getAdsCountToPublish();
int adSpacesCount = (getAdIndex(position) + 1);
int originalPosition = position - Math.min(adSpacesCount, noOfAds);
Log.d("POSITION", position + " is originally " + originalPosition);
return originalPosition;
}
protected boolean canShowAdAtPosition(int position) {
