diff --git a/app/src/main/kotlin/Navigation.kt b/app/src/main/kotlin/Navigation.kt index a645e07..735a342 100644 --- a/app/src/main/kotlin/Navigation.kt +++ b/app/src/main/kotlin/Navigation.kt @@ -31,7 +31,7 @@ import com.adsbynimbus.android.sample.databinding.ActivityNavigationBinding import com.adsbynimbus.android.sample.demand.* import com.adsbynimbus.android.sample.dynamicadapter.GoogleAdMobDynamicFragment import com.adsbynimbus.android.sample.mediation.GoogleAdManagerYieldGroupFragment -import com.adsbynimbus.android.sample.mediation.NimbusRenderingDynamicPriceFragment +import com.adsbynimbus.android.sample.mediation.DynamicPriceFragment import com.adsbynimbus.android.sample.rendering.AdManagerFragment import com.adsbynimbus.android.sample.rendering.TestRenderFragment @@ -60,7 +60,7 @@ val screens = mutableMapOf( "Banner", "Interstitial", )), - NavigationAdapter(destination = "DynamicPriceRendering", items = arrayOf( + NavigationAdapter(destination = "DynamicPriceRendering", header = "Dynamic Price", items = arrayOf( "Banner", "Inline Video", "Interstitial", @@ -70,12 +70,6 @@ val screens = mutableMapOf( "AdLoader Banner", "AdLoader Inline Video", )), - NavigationAdapter(destination = "Google Dynamic Price", items = arrayOf( - "Dynamic Price Banner", - "Dynamic Price Banner + Video", - "Dynamic Price Inline Video", - "Dynamic Price Interstitial", - )), NavigationAdapter(destination = "Dynamic Adapters for AdMob", header = "AdMob", items = arrayOf( "Dynamic Banner", "Dynamic Interstitial", @@ -131,7 +125,7 @@ fun NavGraphBuilder.nimbusGraph(context: Context) = apply { label = context.getString(R.string.google_ad_manager) argument("item") { type = NavType.StringType } } - fragment("DynamicPriceRendering/{item}") { + fragment("DynamicPriceRendering/{item}") { argument("item") { type = NavType.StringType } } fragment("Dynamic Adapters for AdMob/{item}") { diff --git a/app/src/main/kotlin/mediation/NimbusRenderingDynamicPrice.kt b/app/src/main/kotlin/mediation/DynamicPrice.kt similarity index 99% rename from app/src/main/kotlin/mediation/NimbusRenderingDynamicPrice.kt rename to app/src/main/kotlin/mediation/DynamicPrice.kt index 8274603..a2b29b1 100644 --- a/app/src/main/kotlin/mediation/NimbusRenderingDynamicPrice.kt +++ b/app/src/main/kotlin/mediation/DynamicPrice.kt @@ -182,7 +182,7 @@ class AdLoaderAdListener( logAdapter.appendLog("onAdOpened") } } -class NimbusRenderingDynamicPriceFragment : Fragment() { +class DynamicPriceFragment : Fragment() { val adManager = NimbusAdManager() var adView: AdManagerAdView? = null