Closed RomanDorofeyev closed 4 days ago
Please refer to the jetpack UI libraries link to show UI from the SDK runtime instead of using requestSurfacePackage.
@slinny is there any sample or detailed doc for that?
Once the UI libraries go into Beta, we plan to deprecate the SDK runtime platform APIs related to UI presentation, namely SdkSandboxManager.requestSurfacePackage() and SandbxedSdkProvider.getView()
Or probably you know when UI library will go into beta?
@RomanDorofeyev have you checked the code in the dev-preview-main branch of the sample? You should have updated examples there.
@notmariazoe I did! But I was checking java repo, probably kotlin is more up-to-date, will check it also. Thanks!
Definitely, let me know how it goes.
On Thu, May 23, 2024 at 2:28 PM Roman Do @.***> wrote:
@notmariazoe https://github.com/notmariazoe I did! But I was checking java repo, probably kotlin is more up-to-date, will check it also. Thanks!
— Reply to this email directly, view it on GitHub https://github.com/android/privacy-sandbox-samples/issues/94#issuecomment-2127111183, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQI3VXBP2CIFWGIIROIHRTLZDXVHZAVCNFSM6AAAAABBU4R4FKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRXGEYTCMJYGM . You are receiving this because you were mentioned.Message ID: @.***>
I'm trying to understand how to use Sandboxed ads in the feed (RecyclerView) but faced a couple of issues:
As I understand all the fields below are required:
The question is how to preload the ad if the SurfaceView is not added to the view tree and those data cannot be retrieved?
The question is how to restore SurfaceView content when RecyclerView scrolled back?