Skip to content

Sample for ItemsRepeater with ConnectedAnimation #340

Open
@harvinders

Description

@harvinders

Is this a totally new sample, an addition to an existing sample page, or a modification of an existing sample page?

  • New sample
  • Addition to existing sample
  • Modification to existing sample

If this is an addition/modification to an existing sample page, which one?
There are sample page for ConnectedAnimation with both ListView and GridView. WinUI has introduced ItemsRepeater sometime back, it would be great to have a sample that shows how to do connected animation for forward and backward page navigation.

Describe the sample

The sample should demonstrate following

  1. A simple forward and backward page navigation with ItemsRepeater. It should correctly work when the user has scrolled a bit the ItemsRepeater present inside the ScrollViewer (This is important for backward navigation to restore the scroll position).

  2. The streaming media apps use something similar

image

It would be great to see a sample in which a ItemsRepeater containing multiple ItemsRepeaters. The forward and importantly backward page navigation with connected animation should work.

  1. As of today there are two containers that can host ItemsRepeater to support scrolling. ItemsScrollViewHostand the upcomingScrollViewer`. It would be great if the the samples could include both containers.

  2. Please consider if NavigationCacheMode=Required could have influence on the samples.

Is your sample request related to a problem? Please describe it

@jesbis @SavoySchuler (You made a callout to help you prioritise things in WinUI)

I am trying to add connected animation to a app similar to the diagram shown above, which I hope to launch before the Neo. It is a bit frustrating that there is very little documentation to pull this off. I am spending lot of my time doing experimenting to understand the behaviour of these classes, whereas a sample could have saved me valuable time and I believe @ranjeshj 's too .

What I a describing could benefit the broader community as it could help create these class of applications.

Additional context

I am in discussions with @ranjeshj at #microsoft/microsoft-ui-xaml/issues/1848. However, I think it would help everyone if there are some samples too.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementExpand an existing sample or add feature to appnew sampleNew feature or requestsample enhancementRequests for new samples or changes to an existing page

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions