-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
130 changed files
with
860 additions
and
853 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 13 additions & 13 deletions
26
...les/Controls.Sample/Pages/PlatformSpecifics/Android/AndroidListViewFastScrollPage.xaml.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
using System; | ||
using Maui.Controls.Sample.ViewModels; | ||
using Microsoft.Maui.Controls; | ||
using Microsoft.Maui.Controls.PlatformConfiguration; | ||
using Microsoft.Maui.Controls.PlatformConfiguration.AndroidSpecific; | ||
using Maui.Controls.Sample.ViewModels; | ||
|
||
namespace Maui.Controls.Sample.Pages | ||
{ | ||
public partial class AndroidListViewFastScrollPage : ContentPage | ||
{ | ||
public AndroidListViewFastScrollPage() | ||
{ | ||
InitializeComponent(); | ||
BindingContext = new ListViewViewModel(); | ||
} | ||
public partial class AndroidListViewFastScrollPage : ContentPage | ||
{ | ||
public AndroidListViewFastScrollPage() | ||
{ | ||
InitializeComponent(); | ||
BindingContext = new ListViewViewModel(); | ||
} | ||
|
||
void OnButtonClicked(object sender, EventArgs e) | ||
{ | ||
listView.On<Microsoft.Maui.Controls.PlatformConfiguration.Android>().SetIsFastScrollEnabled(!listView.On<Microsoft.Maui.Controls.PlatformConfiguration.Android>().IsFastScrollEnabled()); | ||
} | ||
} | ||
void OnButtonClicked(object sender, EventArgs e) | ||
{ | ||
listView.On<Microsoft.Maui.Controls.PlatformConfiguration.Android>().SetIsFastScrollEnabled(!listView.On<Microsoft.Maui.Controls.PlatformConfiguration.Android>().IsFastScrollEnabled()); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 21 additions & 21 deletions
42
...rols/samples/Controls.Sample/Pages/PlatformSpecifics/Android/AndroidTitleViewPage.xaml.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
using Microsoft.Maui.Controls; | ||
using System; | ||
using System; | ||
using System.Windows.Input; | ||
using Microsoft.Maui.Controls; | ||
|
||
namespace Maui.Controls.Sample.Pages | ||
{ | ||
public partial class AndroidTitleViewPage : ContentPage | ||
{ | ||
readonly ICommand _returnToPlatformSpecificsPage; | ||
public partial class AndroidTitleViewPage : ContentPage | ||
{ | ||
readonly ICommand _returnToPlatformSpecificsPage; | ||
|
||
public AndroidTitleViewPage() | ||
{ | ||
InitializeComponent(); | ||
} | ||
public AndroidTitleViewPage() | ||
{ | ||
InitializeComponent(); | ||
} | ||
|
||
public AndroidTitleViewPage(ICommand restore) | ||
{ | ||
InitializeComponent(); | ||
_returnToPlatformSpecificsPage = restore; | ||
} | ||
public AndroidTitleViewPage(ICommand restore) | ||
{ | ||
InitializeComponent(); | ||
_returnToPlatformSpecificsPage = restore; | ||
} | ||
|
||
void OnReturnButtonClicked(object sender, EventArgs e) | ||
{ | ||
if (_returnToPlatformSpecificsPage == null) | ||
return; | ||
void OnReturnButtonClicked(object sender, EventArgs e) | ||
{ | ||
if (_returnToPlatformSpecificsPage == null) | ||
return; | ||
|
||
_returnToPlatformSpecificsPage.Execute(null); | ||
} | ||
} | ||
_returnToPlatformSpecificsPage.Execute(null); | ||
} | ||
} | ||
} |
Oops, something went wrong.