Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[Tizen] CollectionView optimize for TV profile #12781

Merged
merged 1 commit into from
Nov 9, 2020

Conversation

myroot
Copy link
Contributor

@myroot myroot commented Nov 9, 2020

Description of Change

  • This PR optimize CollectionView for TV profile
    • ScrollStep of CollectionView was increased to item size, it improve scrolling of items
    • Focused items was raised to the top, it fix focus effect issue on some apps
    • VisibleItemIndex on Scrolled event was not correct with header/footer, it was fixed
    • Add FocusedItemScrollPosition property in ItemsView as TizenSpecific, useful for controlling with focus.

Issues Resolved

  • fixes #

API Changes

Added:

public static void Xamarin.Forms.PlatformConfiguration.TizenSpecific.ItemsView.SetFocusedItemScrollPosition(BindableObject element, ScrollToPosition position)
public static ScrollToPosition Xamarin.Forms.PlatformConfiguration.TizenSpecific.ItemsView.GetFocusedItemScrollPosition(BindableObject element)

Platforms Affected

  • Tizen

Behavioral/Visual Changes

None

Before/After Screenshots

  • FocusedItemScrollPosition
    focusItemPosition

Testing Procedure

PR Checklist

  • Targets the correct branch
  • Tests are passing (or failures are unrelated)

@rmarinho rmarinho merged commit 9c09b40 into xamarin:5.0.0 Nov 9, 2020
@samhouts samhouts added this to the 5.0.0 milestone Nov 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants