Endless Pivot Control

后端 未结 2 1915
Happy的楠姐
Happy的楠姐 2020-12-17 03:39

I\'m trying to use a Pivot control for a calendar type app, where each Pivot view shows some infos about the current day. When the user swipes forw

2条回答
  •  孤城傲影
    2020-12-17 04:11

    For this, I'd use a Pivot control with 4 pages.

    At any one time, the previous, current and next pages will contain correct data - and you will always have one (empty) page

    You can then respond to the events when your current page is changing and has changed - use these events to set up the current (empty) page to the correct new content and to then clear the new (empty) page.

提交回复
热议问题