public static enum MoPubRecyclerAdapter.ContentChangeStrategy
The strategy this adapter should use for moving ads when content is added or removed from the wrapped original adapter. This strategy can be set at any time to change the behavior of the adapter.
public static final /INSERT_AT_END
- Description: Insert ads when content is added to the end of the stream. This is the default behavior and the recommended strategy.
public static final /MOVE_ALL_ADS_WITH_CONTENT
- Description: Cause all ad positions after an insertion or deletion to be adjusted. New ads will not be displayed when items are added to the end of the stream.
public static final /KEEP_ADS_FIXED
- Description: Never adjust ad positions when items are inserted or removed.
Last updated March 04, 2020
TWITTER, MOPUB, and the Bird logo are trademarks of Twitter, Inc. or its affiliates. All third party logos and trademarks included are the property of their respective owners.
© 2020 MoPub (a division of Twitter, Inc.)