Skip to content

Conversation

@xinzhengzhang
Copy link

Describe proposed changes and the issue being fixed

Support prefetch scheduler in UIKit(iosMain) to enable PausableComposition in LazyLayout

Fixes CMP-9398

TODO: Compilation of non-iOS variants under the legacy skikoMain source set

Testing

(Optional) Describe how you tested your changes (provide a snippet or/and steps)

(Optional) This should be tested by QA

Release Notes

Section - Subsection

Copy link
Member

@MatkovIvan MatkovIvan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We cannot change public common API in the fork. This change cannot be merged

}
}
}
// FIXME: We've only implemented the corresponding prefetchScheduler for UIKitMain, but the configuration for other variants is too complex and requires a simpler solution. Currently, comments can only be added through the UIKitMain build.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The project is not buildable in without providing actuals. Another blocker here

@OptIn(ExperimentalForeignApi::class)
@Suppress("DEPRECATION") // b/420551535
@ExperimentalFoundationApi
internal class SkikoPrefetchScheduler(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't seem that foundation module is the right place for this logic. I guess it should be a part of the existing CADisplayLink flow inside ui module.

@MatkovIvan MatkovIvan requested a review from svastven January 5, 2026 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants