flipkart-incubator / madman-android

Madman (Media ads manager) is a high performance alternative to Google's standard IMA android SDK. If you have your own VAST server and want to render video ads and have full control over the UI, then this library is for you.
https://tech.flipkart.com/madman-an-open-source-ads-framework-for-android-99b5e57fdd30
Apache License 2.0
69 stars 11 forks source link

How to customize the Skip AD button #22

Open vinoddirishala opened 3 years ago

vinoddirishala commented 3 years ago

I implemented the madman sdk to play ads in between the content in my application. Everything is working fine but the problem is that the before the ad gets loaded the skip ad is comes to visible state. Is there any document reference about how to customize it.

anirudhramanan commented 3 years ago

You can pass a custom AdViewBinder while creating the AdRenderer instance. (https://github.com/flipkart-incubator/madman-android/blob/ded0a7a5d50bdf2b60e5a31a41943266bb677041/madman/src/main/java/com/flipkart/madman/renderer/DefaultAdRenderer.kt#L281)

vinoddirishala commented 3 years ago

The skip ad button is completing it's offset even the ad playback is paused. Are there any callbacks to handle this ?