public boolean hasToFetchAd(int position, int fetchingAdsCount) {
    """
	Checks if we have to request the next ad block for this position.
	
	@param position the adapter position
	@param fetchingAdsCount the count of fetched and currently fetching ads
	@return {@code true} if an ad is not available to publish and we should fetch one, {@code false} otherwise
    """
        int adIndex = getAdIndex(position);
        int firstAdPos = getOffsetValue();
        return  position >= firstAdPos && adIndex >= 0 && adIndex < getLimitOfAds() && adIndex >= fetchingAdsCount;
    }
public boolean hasToFetchAd(int position, int fetchingAdsCount){
        int adIndex = getAdIndex(position);
        int firstAdPos = getOffsetValue();
        return  position >= firstAdPos && adIndex >= 0 && adIndex < getLimitOfAds() && adIndex >= fetchingAdsCount;
    }
public boolean hasToFetchAd ( int position , int fetchingAdsCount ) { int adIndex = getAdIndex ( position ) ; int firstAdPos = getOffsetValue ( ) ; return position >= firstAdPos && adIndex >= 0 && adIndex < getLimitOfAds ( ) && adIndex >= fetchingAdsCount ; }
Checks if we have to request the next ad block for this position.

@param position the adapter position
@param fetchingAdsCount the count of fetched and currently fetching ads
@return {@code true} if an ad is not available to publish and we should fetch one, {@code false} otherwise
Checks if we have to request the next ad block for this position .