Chapter 20 Notes

Title: Async and File I/O

Summary

So much ado about Labels and the text in them.

Programming Concepts Summary

1. AlertCallbacks - 626 2. AlertLambdas - 630 3. AlertAwait - 630 (All three of these accomplish the same thing) 4. NothingAlert 632 Even Simpler version of the previous 3. Compare the OnButtonClick Methods

5. SaveProgramSettings - 635 (See codebehind for on 637-638 for async code. ASK THE QUESTION POSED ON 638 Is... reentrant?)

6. TaskDelayClock - 639 (Every 250 milliseconds, the code in the while loop runs to give the Label the current time, but also to randomly change its font size and its location within the AbsoluteLayout)

7. TextFileTryout - 643 (Dependency Service - You know like the padding thing... 1. Interface on p. 643, Implementation in iOS platform 630-644. Read 645 leadup to UWP project! Read 646 leadup to code! Run it with a view of the XAML/CodeBehind...) THIS IS NOT ASYNC!!! Move on to next 8. TextFileAsync - 653 (Section intro has important hightlighted subjects, especially related to nuget. New IFileHelper starts on 654-655. Read 655 bottom and fall along for a while... crosses over into a new section: keeping it in the background.)

9. MandelbrotSet - 666-667 10. MandelbrotProgress - 694 The progress bar usage. 11. MandelbrotCancellation - 677 how to cancel a long running worker thread. 12. MandelbrotXF - 680 MVVM version that includes the first M, V, VM all together.

13. ApmToTap - 701 robust method to access web pages.