mirror of
				https://github.com/Nioux/AideDeJeu.git
				synced 2025-10-31 07:26:09 +00:00 
			
		
		
		
	OnPlatform
This commit is contained in:
		
							parent
							
								
									a8fa48cafe
								
							
						
					
					
						commit
						a4933c52ba
					
				
					 6 changed files with 41 additions and 11 deletions
				
			
		|  | @ -84,10 +84,16 @@ | |||
|                     IsRunning="{Binding BindingContext.Main.IsLoading, Source={x:Reference This}}"  | ||||
|                     IsVisible="{Binding BindingContext.Main.IsLoading, Source={x:Reference This}}"> | ||||
|                 <ActivityIndicator.WidthRequest> | ||||
|                     <OnPlatform x:TypeArguments="x:Double" iOS="50" WinPhone="400" Android="50" /> | ||||
|                     <OnPlatform x:TypeArguments="x:Double"> | ||||
|                         <On Platform="UWP" Value="400" /> | ||||
|                         <On Platform="iOS, Android" Value="50" /> | ||||
|                     </OnPlatform> | ||||
|                 </ActivityIndicator.WidthRequest> | ||||
|                 <ActivityIndicator.HeightRequest> | ||||
|                     <OnPlatform x:TypeArguments="x:Double" iOS="50" WinPhone="10" Android="50" /> | ||||
|                     <OnPlatform x:TypeArguments="x:Double"> | ||||
|                         <On Platform="UWP" Value="10" /> | ||||
|                         <On Platform="iOS, Android" Value="50" /> | ||||
|                     </OnPlatform> | ||||
|                 </ActivityIndicator.HeightRequest> | ||||
|             </ActivityIndicator> | ||||
|         </Grid> | ||||
|  |  | |||
|  | @ -51,10 +51,16 @@ | |||
|                     IsRunning="{Binding BindingContext.Main.IsLoading, Source={x:Reference This}}"  | ||||
|                     IsVisible="{Binding BindingContext.Main.IsLoading, Source={x:Reference This}}"> | ||||
|                 <ActivityIndicator.WidthRequest> | ||||
|                     <OnPlatform x:TypeArguments="x:Double" iOS="50" WinPhone="400" Android="50" /> | ||||
|                     <OnPlatform x:TypeArguments="x:Double"> | ||||
|                         <On Platform="UWP" Value="400" /> | ||||
|                         <On Platform="iOS, Android" Value="50" /> | ||||
|                     </OnPlatform> | ||||
|                 </ActivityIndicator.WidthRequest> | ||||
|                 <ActivityIndicator.HeightRequest> | ||||
|                     <OnPlatform x:TypeArguments="x:Double" iOS="50" WinPhone="10" Android="50" /> | ||||
|                     <OnPlatform x:TypeArguments="x:Double"> | ||||
|                         <On Platform="UWP" Value="10" /> | ||||
|                         <On Platform="iOS, Android" Value="50" /> | ||||
|                     </OnPlatform> | ||||
|                 </ActivityIndicator.HeightRequest> | ||||
|             </ActivityIndicator> | ||||
|         </Grid> | ||||
|  |  | |||
|  | @ -72,10 +72,16 @@ | |||
|                     IsRunning="{Binding BindingContext.Main.IsLoading, Source={x:Reference This}}"  | ||||
|                     IsVisible="{Binding BindingContext.Main.IsLoading, Source={x:Reference This}}"> | ||||
|                     <ActivityIndicator.WidthRequest> | ||||
|                         <OnPlatform x:TypeArguments="x:Double" iOS="50" WinPhone="400" Android="50" /> | ||||
|                         <OnPlatform x:TypeArguments="x:Double"> | ||||
|                             <On Platform="UWP" Value="400" /> | ||||
|                             <On Platform="iOS, Android" Value="50" /> | ||||
|                         </OnPlatform> | ||||
|                     </ActivityIndicator.WidthRequest> | ||||
|                     <ActivityIndicator.HeightRequest> | ||||
|                         <OnPlatform x:TypeArguments="x:Double" iOS="50" WinPhone="10" Android="50" /> | ||||
|                         <OnPlatform x:TypeArguments="x:Double"> | ||||
|                             <On Platform="UWP" Value="10" /> | ||||
|                             <On Platform="iOS, Android" Value="50" /> | ||||
|                         </OnPlatform> | ||||
|                     </ActivityIndicator.HeightRequest> | ||||
|                 </ActivityIndicator> | ||||
|             </Grid> | ||||
|  |  | |||
|  | @ -31,10 +31,16 @@ | |||
|             IsRunning="{Binding BindingContext.Main.IsLoading, Source={x:Reference This}}"  | ||||
|             IsVisible="{Binding BindingContext.Main.IsLoading, Source={x:Reference This}}"> | ||||
|             <ActivityIndicator.WidthRequest> | ||||
|                 <OnPlatform x:TypeArguments="x:Double" iOS="50" WinPhone="400" Android="50" /> | ||||
|                 <OnPlatform x:TypeArguments="x:Double"> | ||||
|                     <On Platform="UWP" Value="400" /> | ||||
|                     <On Platform="iOS, Android" Value="50" /> | ||||
|                 </OnPlatform>  | ||||
|             </ActivityIndicator.WidthRequest> | ||||
|             <ActivityIndicator.HeightRequest> | ||||
|                 <OnPlatform x:TypeArguments="x:Double" iOS="50" WinPhone="10" Android="50" /> | ||||
|                 <OnPlatform x:TypeArguments="x:Double"> | ||||
|                     <On Platform="UWP" Value="10" /> | ||||
|                     <On Platform="iOS, Android" Value="50" /> | ||||
|                 </OnPlatform> | ||||
|             </ActivityIndicator.HeightRequest> | ||||
|         </ActivityIndicator> | ||||
|     </Grid> | ||||
|  |  | |||
|  | @ -46,10 +46,16 @@ | |||
|             IsRunning="{Binding BindingContext.Main.IsLoading, Source={x:Reference This}}"  | ||||
|             IsVisible="{Binding BindingContext.Main.IsLoading, Source={x:Reference This}}"> | ||||
|             <ActivityIndicator.WidthRequest> | ||||
|                 <OnPlatform x:TypeArguments="x:Double" iOS="50" WinPhone="400" Android="50" /> | ||||
|                 <OnPlatform x:TypeArguments="x:Double"> | ||||
|                     <On Platform="UWP" Value="400" /> | ||||
|                     <On Platform="iOS, Android" Value="50" /> | ||||
|                 </OnPlatform> | ||||
|             </ActivityIndicator.WidthRequest> | ||||
|             <ActivityIndicator.HeightRequest> | ||||
|                 <OnPlatform x:TypeArguments="x:Double" iOS="50" WinPhone="10" Android="50" /> | ||||
|                 <OnPlatform x:TypeArguments="x:Double"> | ||||
|                     <On Platform="UWP" Value="10" /> | ||||
|                     <On Platform="iOS, Android" Value="50" /> | ||||
|                 </OnPlatform> | ||||
|             </ActivityIndicator.HeightRequest> | ||||
|         </ActivityIndicator> | ||||
|     </Grid> | ||||
|  |  | |||
|  | @ -140,7 +140,7 @@ namespace AideDeJeuCmd | |||
|                 if (allitem.Value is Items) | ||||
|                 { | ||||
|                     var items = allitem.Value as Items; | ||||
|                     foreach (var item in items) | ||||
|                     foreach (var item in await items.GetChildrenAsync()) | ||||
|                     { | ||||
|                         if (!string.IsNullOrWhiteSpace(item.Name)) | ||||
|                         { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Yan Maniez
						Yan Maniez