1
0
Fork 0
mirror of https://github.com/Nioux/AideDeJeu.git synced 2025-11-01 07:56:04 +00:00

Loader PdfView

This commit is contained in:
Yan Maniez 2019-05-11 15:04:00 +02:00
parent 85be3862f6
commit de005f362d

View file

@ -4,12 +4,14 @@
xmlns:views="clr-namespace:AideDeJeu.Views" xmlns:views="clr-namespace:AideDeJeu.Views"
x:Class="AideDeJeu.Views.PlayerCharacter.PdfViewPage"> x:Class="AideDeJeu.Views.PlayerCharacter.PdfViewPage">
<ContentPage.Content> <ContentPage.Content>
<StackLayout> <Grid>
<Label Text="{Binding PdfFile.Result}" <ActivityIndicator
IsRunning="{Binding PdfFile.IsNotCompleted}"
IsVisible="{Binding PdfFile.IsNotCompleted}"
VerticalOptions="CenterAndExpand" VerticalOptions="CenterAndExpand"
HorizontalOptions="CenterAndExpand" /> HorizontalOptions="CenterAndExpand" />
<views:PdfView Uri="{Binding PdfFile.Result}" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand"/> <views:PdfView IsVisible="{Binding PdfFile.IsSuccessfullyCompleted}" Uri="{Binding PdfFile.Result}" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand"/>
</StackLayout> </Grid>
</ContentPage.Content> </ContentPage.Content>
</ContentPage> </ContentPage>