XAML Electronic Program Guide (EPG)

Is there a way to implement EPG using XAML for WinPhone / WinRT? I have seen many applications for iOS / Android / Web, but not WP or WinStore.

  • It should support a large number of elements (500 channels, N programs for each, where N is the number of programs during the week)
  • It may have spaces inside, for example, some program is missing or there is no data from the whole line, but an empty (transparent) line should still be displayed.
  • The number of elements in each row will always be different (how EPG works)
  • Download should be fast and smooth.
  • Memory usage should be normal, the application should not crash due to many inverted views, i.e. items must be virtualized (reused)

GridView looks like something similar, but there are some problems:

  • to make elements of different sizes of elements - you need to switch itemsPanel to VariableSizedWrapGrid, which does not support virtualization. There are some attempts to solve this problem, for example this , but not native / testing / wide-used solution
  • I'm not sure that even with VariableSizedWrapGrid it will be possible to maintain spaces and lack of content, it looks like the GridView will fill elements in spaces anyway (creating empty transparent elements sounds like a dirty hack)
  • many problems will be a problem, you need to somehow increase the incremental load.
  • Memory usage / performance does not look good

- ? - / ? xaml //?

+4
1

xaml epg UWP , POC ScrollViewer, ( ) ListView.

( Grid )...

WinRT XAML Toolkit -

, :)

, EPG, - - ( )

, - Grid, ScrollViewer, RowDefinition , ( ).

- ( ). Border RowDefinitios - Margin to Time.

. , , - , (ViewPort Rect), , - /, viewPort. , EPg 14: 00-18: 00, 18:05 .

( ) - RowDefinition .

  • ( ), /, .
0

Source: https://habr.com/ru/post/1569310/


All Articles