Hi, I am trying to implementing Google Ads in a `L...
# compose
a
Hi, I am trying to implementing Google Ads in a
LazyColumn
backed by a
PagingData
source. My lazy list is full-screen and uses snappy scrolling. The requirement is to load and display an ad dynamically such that, as soon as the ad is loaded, it is inserted immediately after the currently visible item in the list. I understand that the
addSeparators
API could potentially address this use case. However, I’m unsure if it fully meets my requirements, especially considering the dynamic nature of ad insertion relative to visible items. Are there any alternative approaches or best practices for handling this kind of dynamic item insertion within a `LazyColumn`using
Paging.
c
Doing „dynamic“ insertion of ad will get you rejected be the Google Ads review. You could potentially have the user misclick the ad instead of the item they want to click while scrolling.
a
Hey, the question is more about how to handle the dynamic insertion in compose paging. For the Ad performance part, I would have more handling and necessary logic in place.