Skip to content

Commit

Permalink
remove unused samples and update nmes
Browse files Browse the repository at this point in the history
  • Loading branch information
renam committed Feb 7, 2024
1 parent b2c2ff1 commit 8fcb01b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
12 changes: 3 additions & 9 deletions app/src/main/kotlin/Navigation.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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",
Expand All @@ -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",
Expand Down Expand Up @@ -131,7 +125,7 @@ fun NavGraphBuilder.nimbusGraph(context: Context) = apply {
label = context.getString(R.string.google_ad_manager)
argument("item") { type = NavType.StringType }
}
fragment<NimbusRenderingDynamicPriceFragment>("DynamicPriceRendering/{item}") {
fragment<DynamicPriceFragment>("DynamicPriceRendering/{item}") {
argument("item") { type = NavType.StringType }
}
fragment<GoogleAdMobDynamicFragment>("Dynamic Adapters for AdMob/{item}") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ class AdLoaderAdListener(
logAdapter.appendLog("onAdOpened")
}
}
class NimbusRenderingDynamicPriceFragment : Fragment() {
class DynamicPriceFragment : Fragment() {

val adManager = NimbusAdManager()
var adView: AdManagerAdView? = null
Expand Down

0 comments on commit 8fcb01b

Please sign in to comment.