Class AdChoiceViewManager
-
- All Implemented Interfaces:
public final class AdChoiceViewManagerA manager for inflating and loading the AdChoice view.
This class is responsible for creating and loading the AdChoice view, which typically displays an image indicating that the ad is an advertisement. It handles loading the image from a URL, applying transformations, and managing timeouts.
-
-
Constructor Summary
Constructors Constructor Description AdChoiceViewManager(Context context, Image adChoice, AdConfig.AdChoiceConfig adChoiceConfig, InMobiLogger logger)
-
Method Summary
-
-
Constructor Detail
-
AdChoiceViewManager
AdChoiceViewManager(Context context, Image adChoice, AdConfig.AdChoiceConfig adChoiceConfig, InMobiLogger logger)
-
-
Method Detail
-
inflate
final View inflate()
Inflates and loads the AdChoice view.
This method creates a StaticImageView, sets its layout parameters, and loads the AdChoice image into it. It uses the provided adChoice or the default configuration in adChoiceConfig to determine the image URL and dimensions.
- Returns:
The inflated AdChoice view.
-
-
-
-