Infinite Scroll Event Listener
Infinite Scroll life cycle goes as follows:
InfiniteScrollEventListenerInternal.onRoll Called when the infinite scroll is about to roll for an item, this is just an event that happens before the roll or InfiniteScrollEventListenerInternal.onRollFailed Called when the infinite scroll roll for an item says there is no ad in that item.
InfiniteScrollEventListenerInternal.onAdItemCreated Called when the infinite scroll roll succeeds, so we are going to create a view inside it or InfiniteScrollEventListenerInternal.onAdItemFailedToCreate Called when the infinite scroll roll succeeds, but we failed to create a view inside it, this is an actual error not like InfiniteScrollEventListenerInternal.onRollFailed which is just a thing that can happen due to the probability distribution of the infinite scroll configuration
InfiniteScrollEventListenerInternal.onAdItemLoaded Called when the ad that was rolled successfully for an item, actually loads and is ready to be shown or InfiniteScrollEventListenerInternal.onAdItemFailedToLoad Called when the ad that was rolled successfully for an item, failed to load, also an error
InfiniteScrollEventListenerInternal.onAdItemImpression Called when the ad loaded in the item is shown for the first time
InfiniteScrollEventListenerInternal.onAdItemClick Called when the ad loaded in the item is clicked
InfiniteScrollEventListenerInternal.onAdItemOpen Called when the ad loaded in the item is opened
InfiniteScrollEventListenerInternal.onAdItemClose Called when the ad loaded in the item is closed
Functions
Callback for when the ad that was rolled successfully for an item, is clicked
Callback for when the ad that was rolled successfully for an item, is closed
Callback for when a roll succeeds, so we are going to create a view inside it
Callback that happens when we are using more advanced infinite scroll techniques, where we might not find a valid wrapper inside the item
Callback for when the ad that was rolled successfully for an item, failed to load
Callback for when the ad that was rolled successfully for an item, is shown
Callback for when the ad that was rolled successfully for an item, actually loads and is ready to be shown
Callback for when the ad that was rolled successfully for an item, is opened
Callback for when a roll for an item says there is no ad in that item. Failed might be misunderstood, since is not failed in an error or warning, but the roll simply said we should not load an ad in this item, is not for error catching is just a thing that can happen due to the probability distribution of the infinite scroll configuration