Skip to content

Comments

refactor: update InfiniteScrollingDataSource and preview#454

Merged
piercifani merged 3 commits intodevelopfrom
migrate-InfiniteScrollingDataSource
Feb 20, 2026
Merged

refactor: update InfiniteScrollingDataSource and preview#454
piercifani merged 3 commits intodevelopfrom
migrate-InfiniteScrollingDataSource

Conversation

@MarcHidalgo5
Copy link
Contributor

Remove Combine and replace @published with SwiftUI's @observable annotations for better performance with SwiftUI 18. Utilize the @ObservationIgnored attribute for non-observable properties. Simplify preview code by removing unnecessary @StateObject and @ObservedObject wrappers, as the @observable protocol already manages state changes efficiently.

Remove Combine and replace @published with SwiftUI's @observable
annotations for better performance with SwiftUI 18. Utilize the
@ObservationIgnored attribute for non-observable properties.
Simplify preview code by removing unnecessary @StateObject and
@ObservedObject wrappers, as the @observable protocol already manages
state changes efficiently.
Introduce an Android-compatible static creation method in
InfiniteScrollingDataSource for improved support across platforms.
This change ensures that the class can be instantiated on Android
OS, broadening the potential use cases and facilitating platform-
specific adaptations. Adjust the initializer to cater to these
specifications while preserving existing functionality.
@piercifani piercifani merged commit e0891c3 into develop Feb 20, 2026
3 checks passed
@piercifani piercifani deleted the migrate-InfiniteScrollingDataSource branch February 20, 2026 16:37
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