var tabbedPage = new TabbedPage();
tabbedPage.Children.Add(new ViewA());
var navigationPage = new NavigationPage(new ViewB());
tabbedPage.Children.Add(navigationPage);
// selectedTab=ViewB
tabbedPage.CurrentPage = navigationPage;
- Figure out F11 step into mapping for macOS (TM), currently mapped to system expose
- Share out styling/theme links https://github.com/StylishThemes https://github.com/mjswensen/themer (Credit to @depechie)
- Talk to Dan and Brian about renaming tests https://github.com/PrismLibrary/Prism/blob/07997a6097ddc4edea725047453e030ef272b0a9/tests/Forms/Prism.Forms.Tests/Navigation/PageNavigationServiceFixture.cs#L565
- Rider keys to Jon, Luis, Glenn
@dylbot9000
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
public static class TaskUtilities | |
{ | |
#pragma warning disable RECS0165 // Asynchronous methods should return a Task instead of void | |
public static async void FireAndForgetSafeAsync(this Task task, Action<Exception> handleErrorAction = null) | |
#pragma warning restore RECS0165 // Asynchronous methods should return a Task instead of void | |
{ | |
try | |
{ | |
await task.ConfigureAwait(true); | |
} |
- Build pages for tabbed navigation scenario in test "HelloWorld" project
- Examine existing UI tests
- Build new UI tests
- Looked Prism modules for the first time!
- Brought our list/detail page into the HelloWorld/Module A project
- Added new dependencies into HelloWorld solution
- Explored existing UI Tests - ran successfully
- Fix issues identified in PageNavigationService
- Write UI tests!
- if Visual Studio for Mac will not build/run due to XAMLC issues, clean, delete output and quit/restart VS
- Fixed (not really) VS XAMLC headache
- Debugged PageNavigationService, found/fixed an unawaited async call
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
public class BaseTabViewModel : BaseViewModel, IActiveAware | |
{ | |
// NOTE: Prism.Forms only sets IsActive, and does not do anything with the event. | |
public BaseTabViewModel(INavigationService navigationService, | |
IViewModelServiceProvider viewModelServiceProvider) | |
: base(navigationService, viewModelServiceProvider) | |
{ | |
var onIsActiveChanged = new WeakEventHandler<EventArgs>(OnIsActiveChanged); | |
IsActiveChanged += onIsActiveChanged.Handler; | |
- Mock services that communicate with the backend
- Ask Allan Ritchie about
ApiClientFactory
https://github.com/BSiLabs/RateTheMeet/blob/master/MeetupSurvey.Data.Impl/ApiClientFactory.cs - lachlanwgordon: What I think is a good Idea, but haven't tried yet. Is to have a Blazor Server Project and a Blazor WASM project in the solution that reuse all the same files. So you can. do 90+% of your debuggin in server blazor which has a good debug experience