admobadapter/src/main/java/com/clockbyte/admobadapter/bannerads/BannerAdPresetCyclingList.java
public BannerAdPreset get() {
        if(size() == 0) return null;
        if (size() == 1) return get(0);
        currentIdx = ++currentIdx % size();
        return get(currentIdx);
    }
public BannerAdPreset get() {
        if(size() == 0) return null;
        if (size() == 1) return get(0);
        currentIdx = ++currentIdx % size();
        return get(currentIdx);
    }
public BannerAdPreset get ( ) { if ( size ( ) == 0 ) return null ; if ( size ( ) == 1 ) return get ( 0 ) ; currentIdx = ++ currentIdx % size ( ) ; return get ( currentIdx ) ; }
Gets next ad preset for Admob banners from FIFO.
It works like cycling FIFO (first in = first out, cycling from end to start).
Each ad block will get one from the queue.
If the desired count of ad blocks is greater than this collection size
then it will go again to the first item and iterate as much as it required.
ID should be active, please check it in your Admob's account.
Gets next ad preset for Admob banners from FIFO . It works like cycling FIFO ( first in = first out cycling from end to start ) . Each ad block will get one from the queue . If the desired count of ad blocks is greater than this collection size then it will go again to the first item and iterate as much as it required . ID should be active please check it in your Admob s account .