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 /+3.9.0
- 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 /+3.9.0
- 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 /+3.9.0
- Description: Never adjust ad positions when items are inserted or removed.
How can we make this article better for you?
Last updated August 28, 2021
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.
© 2021 MoPub (a division of Twitter, Inc.)