samples fixes
This commit is contained in:
Родитель
d5e108008f
Коммит
8ffe632cbe
|
@ -3,23 +3,21 @@
|
|||
@page "/collectionviewplayground/infinite-scroll"
|
||||
|
||||
<ContentPage Title="Infinite scroll">
|
||||
<StackLayout>
|
||||
<CollectionView ItemsSource="_intItems"
|
||||
RemainingItemsThreshold="2"
|
||||
OnRemainingItemsThresholdReached="LoadItems">
|
||||
<Header>
|
||||
<Label Text="Scroll to load more items." />
|
||||
</Header>
|
||||
<CollectionView ItemsSource="_intItems"
|
||||
RemainingItemsThreshold="2"
|
||||
OnRemainingItemsThresholdReached="LoadItems">
|
||||
<Header>
|
||||
<Label Text="Scroll to load more items." />
|
||||
</Header>
|
||||
|
||||
<ItemTemplate>
|
||||
<Item Value="@context" />
|
||||
</ItemTemplate>
|
||||
<ItemTemplate>
|
||||
<Item Value="@context" />
|
||||
</ItemTemplate>
|
||||
|
||||
<Footer>
|
||||
<ActivityIndicator IsRunning="_loading" />
|
||||
</Footer>
|
||||
</CollectionView>
|
||||
</StackLayout>
|
||||
<Footer>
|
||||
<ActivityIndicator IsRunning="_loading" />
|
||||
</Footer>
|
||||
</CollectionView>
|
||||
</ContentPage>
|
||||
|
||||
@code {
|
||||
|
|
|
@ -7,7 +7,7 @@ using Android.OS;
|
|||
|
||||
namespace HybridAuthSample
|
||||
{
|
||||
[Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize)]
|
||||
[Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, Exported = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize)]
|
||||
public class MainActivity : MauiAppCompatActivity
|
||||
{
|
||||
protected override void OnCreate(Bundle savedInstanceState)
|
||||
|
|
|
@ -10,7 +10,7 @@ namespace Microsoft.MobileBlazorBindings.Authentication
|
|||
/// <summary>
|
||||
/// Handles callback for authentication on Android.
|
||||
/// </summary>
|
||||
[Activity(NoHistory = true, LaunchMode = LaunchMode.SingleTop)]
|
||||
[Activity(NoHistory = true, LaunchMode = LaunchMode.SingleTop, Exported = true)]
|
||||
[IntentFilter(new[] { Intent.ActionView }, Categories = new[] { Intent.CategoryDefault, Intent.CategoryBrowsable }, DataScheme = "app")]
|
||||
public class WebAuthenticationCallbackActivity : Maui.Authentication.WebAuthenticatorCallbackActivity
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче