summaryrefslogtreecommitdiff
path: root/Juick/MainPage.xaml
diff options
context:
space:
mode:
Diffstat (limited to 'Juick/MainPage.xaml')
-rw-r--r--Juick/MainPage.xaml11
1 files changed, 9 insertions, 2 deletions
diff --git a/Juick/MainPage.xaml b/Juick/MainPage.xaml
index bdaff7f..a713a39 100644
--- a/Juick/MainPage.xaml
+++ b/Juick/MainPage.xaml
@@ -42,7 +42,11 @@
<controls:PivotItem Header="My feed" Margin="0, -5, 0, 0">
<!--Double line list with image placeholder and text wrapping-->
- <ListBox x:Name="Home" Margin="0,0,-12,0" ItemsSource="{Binding Items}" SelectionChanged="ListBoxSelectionChanged">
+ <ListBox x:Name="Home"
+ Margin="0, 0, -12, 0"
+ ItemsSource="{Binding Items}"
+ SelectionChanged="ListBoxSelectionChanged"
+ bindings:ScrollViewerMonitor.AtEndCommand="{Binding LoadMessagesPageCommand}">
<ListBox.ItemContainerStyle>
<Style TargetType="ListBoxItem">
<Setter Property="HorizontalContentAlignment" Value="Stretch"></Setter>
@@ -95,7 +99,10 @@
<!--<controls:PanoramaItem x:Name="LastPanoramaItem" Header="Last" Margin="0, -40, 0, 0">-->
<controls:PivotItem Header="Last" Margin="0, -5, 0, 0">
<!--Double line list with image placeholder and text wrapping-->
- <ListBox x:Name="Last" Margin="0,0,-12,0" ItemsSource="{Binding Items}" SelectionChanged="LastBoxSelectionChanged">
+ <ListBox x:Name="Last" Margin="0,0,-12,0"
+ ItemsSource="{Binding Items}"
+ SelectionChanged="LastBoxSelectionChanged"
+ bindings:ScrollViewerMonitor.AtEndCommand="{Binding LoadMessagesPageCommand}">
<ListBox.ItemContainerStyle>
<Style TargetType="ListBoxItem">
<Setter Property="HorizontalContentAlignment" Value="Stretch"></Setter>