Repository: kphillpotts/XamarinFormsLayoutChallenges Branch: master Commit: 8d9642d49529 Files: 184 Total size: 38.5 MB Directory structure: gitextract_wjhmwcn9/ ├── .gitattributes ├── .gitignore ├── Formula1/ │ ├── Formula1/ │ │ ├── Formula1/ │ │ │ ├── App.xaml │ │ │ ├── App.xaml.cs │ │ │ ├── Converters/ │ │ │ │ ├── ImageResourceConverter.cs │ │ │ │ └── NotBooleanConverter.cs │ │ │ ├── Data/ │ │ │ │ └── DataRepository.cs │ │ │ ├── Formula1.csproj │ │ │ ├── MainPage.xaml │ │ │ ├── MainPage.xaml.cs │ │ │ ├── Models/ │ │ │ │ ├── Driver.cs │ │ │ │ └── Race.cs │ │ │ ├── Properties/ │ │ │ │ └── AssemblyInfo.cs │ │ │ ├── Views/ │ │ │ │ ├── DriverDetailsPage.xaml │ │ │ │ ├── DriverDetailsPage.xaml.cs │ │ │ │ ├── DriverRankingsPage.xaml │ │ │ │ ├── DriverRankingsPage.xaml.cs │ │ │ │ ├── MasterDetailContainer.xaml │ │ │ │ ├── MasterDetailContainer.xaml.cs │ │ │ │ ├── MenuPage.xaml │ │ │ │ ├── MenuPage.xaml.cs │ │ │ │ ├── RaceDetailsPage.xaml │ │ │ │ ├── RaceDetailsPage.xaml.cs │ │ │ │ ├── RaceSchedulePage.xaml │ │ │ │ ├── RaceSchedulePage.xaml.cs │ │ │ │ ├── StackPage.xaml │ │ │ │ ├── StackPage.xaml.cs │ │ │ │ ├── TabbedContainer.xaml │ │ │ │ └── TabbedContainer.xaml.cs │ │ │ └── packages.config │ │ ├── Formula1.Android/ │ │ │ ├── Assets/ │ │ │ │ └── AboutAssets.txt │ │ │ ├── Formula1.Android.csproj │ │ │ ├── MainActivity.cs │ │ │ ├── Properties/ │ │ │ │ ├── AndroidManifest.xml │ │ │ │ └── AssemblyInfo.cs │ │ │ ├── Resources/ │ │ │ │ ├── AboutResources.txt │ │ │ │ ├── Resource.Designer.cs │ │ │ │ ├── layout/ │ │ │ │ │ ├── Tabbar.axml │ │ │ │ │ └── Toolbar.axml │ │ │ │ └── values/ │ │ │ │ └── styles.xml │ │ │ └── packages.config │ │ ├── Formula1.UWP/ │ │ │ ├── App.xaml │ │ │ ├── App.xaml.cs │ │ │ ├── Formula1.UWP.csproj │ │ │ ├── MainPage.xaml │ │ │ ├── MainPage.xaml.cs │ │ │ ├── Package.appxmanifest │ │ │ ├── Properties/ │ │ │ │ ├── AssemblyInfo.cs │ │ │ │ └── Default.rd.xml │ │ │ └── project.json │ │ └── Formula1.iOS/ │ │ ├── AppDelegate.cs │ │ ├── Entitlements.plist │ │ ├── Formula1.iOS.csproj │ │ ├── Info.plist │ │ ├── Main.cs │ │ ├── Properties/ │ │ │ └── AssemblyInfo.cs │ │ ├── Resources/ │ │ │ └── LaunchScreen.storyboard │ │ ├── iTunesArtwork │ │ ├── iTunesArtwork@2x │ │ └── packages.config │ └── Formula1.sln ├── GreatPlaces/ │ ├── GreatPlaces/ │ │ ├── GreatPlaces/ │ │ │ ├── App.xaml │ │ │ ├── App.xaml.cs │ │ │ ├── DataFactory.cs │ │ │ ├── GreatPlaces.csproj │ │ │ ├── MainPage.xaml │ │ │ ├── MainPage.xaml.cs │ │ │ ├── Models/ │ │ │ │ └── GreatPlace.cs │ │ │ ├── Properties/ │ │ │ │ └── AssemblyInfo.cs │ │ │ └── packages.config │ │ ├── GreatPlaces.Android/ │ │ │ ├── Assets/ │ │ │ │ └── AboutAssets.txt │ │ │ ├── GreatPlaces.Android.csproj │ │ │ ├── MainActivity.cs │ │ │ ├── Properties/ │ │ │ │ ├── AndroidManifest.xml │ │ │ │ └── AssemblyInfo.cs │ │ │ ├── Resources/ │ │ │ │ ├── AboutResources.txt │ │ │ │ ├── Resource.Designer.cs │ │ │ │ ├── layout/ │ │ │ │ │ ├── Tabbar.axml │ │ │ │ │ └── Toolbar.axml │ │ │ │ └── values/ │ │ │ │ └── styles.xml │ │ │ └── packages.config │ │ ├── GreatPlaces.UWP/ │ │ │ ├── App.xaml │ │ │ ├── App.xaml.cs │ │ │ ├── GreatPlaces.UWP.csproj │ │ │ ├── MainPage.xaml │ │ │ ├── MainPage.xaml.cs │ │ │ ├── Package.appxmanifest │ │ │ ├── Properties/ │ │ │ │ ├── AssemblyInfo.cs │ │ │ │ └── Default.rd.xml │ │ │ └── project.json │ │ └── GreatPlaces.iOS/ │ │ ├── AppDelegate.cs │ │ ├── Entitlements.plist │ │ ├── GreatPlaces.iOS.csproj │ │ ├── Info.plist │ │ ├── Main.cs │ │ ├── Properties/ │ │ │ └── AssemblyInfo.cs │ │ ├── Resources/ │ │ │ └── LaunchScreen.storyboard │ │ ├── iTunesArtwork │ │ ├── iTunesArtwork@2x │ │ └── packages.config │ └── GreatPlaces.sln ├── LICENSE ├── README.md ├── SocialNetwork/ │ ├── Design/ │ │ └── SocialNetwork.sketch │ ├── ReadMe.md │ ├── SocialNetwork/ │ │ ├── SocialNetwork/ │ │ │ ├── App.xaml │ │ │ ├── App.xaml.cs │ │ │ ├── MainPage.xaml │ │ │ ├── MainPage.xaml.cs │ │ │ ├── Properties/ │ │ │ │ └── AssemblyInfo.cs │ │ │ ├── SocialNetwork.csproj │ │ │ └── packages.config │ │ ├── SocialNetwork.Android/ │ │ │ ├── Assets/ │ │ │ │ └── AboutAssets.txt │ │ │ ├── MainActivity.cs │ │ │ ├── Properties/ │ │ │ │ ├── AndroidManifest.xml │ │ │ │ └── AssemblyInfo.cs │ │ │ ├── Resources/ │ │ │ │ ├── AboutResources.txt │ │ │ │ ├── Resource.Designer.cs │ │ │ │ ├── layout/ │ │ │ │ │ ├── Tabbar.axml │ │ │ │ │ └── Toolbar.axml │ │ │ │ └── values/ │ │ │ │ └── styles.xml │ │ │ ├── SocialNetwork.Android.csproj │ │ │ └── packages.config │ │ ├── SocialNetwork.UWP/ │ │ │ ├── App.xaml │ │ │ ├── App.xaml.cs │ │ │ ├── MainPage.xaml │ │ │ ├── MainPage.xaml.cs │ │ │ ├── Package.appxmanifest │ │ │ ├── Properties/ │ │ │ │ ├── AssemblyInfo.cs │ │ │ │ └── Default.rd.xml │ │ │ ├── SocialNetwork.UWP.csproj │ │ │ └── project.json │ │ └── SocialNetwork.iOS/ │ │ ├── AppDelegate.cs │ │ ├── Entitlements.plist │ │ ├── Info.plist │ │ ├── Main.cs │ │ ├── Properties/ │ │ │ └── AssemblyInfo.cs │ │ ├── Resources/ │ │ │ └── LaunchScreen.storyboard │ │ ├── SocialNetwork.iOS.csproj │ │ ├── iTunesArtwork │ │ ├── iTunesArtwork@2x │ │ └── packages.config │ └── SocialNetwork.sln └── Timeline/ ├── Timeline/ │ ├── Timeline/ │ │ ├── App.xaml │ │ ├── App.xaml.cs │ │ ├── Converters/ │ │ │ └── NotBooleanConverter.cs │ │ ├── DataFactory.cs │ │ ├── MainPage.xaml │ │ ├── MainPage.xaml.cs │ │ ├── Models/ │ │ │ └── ExerciseClass.cs │ │ ├── Properties/ │ │ │ └── AssemblyInfo.cs │ │ ├── Timeline.csproj │ │ └── packages.config │ ├── Timeline.Android/ │ │ ├── Assets/ │ │ │ └── AboutAssets.txt │ │ ├── MainActivity.cs │ │ ├── Properties/ │ │ │ ├── AndroidManifest.xml │ │ │ └── AssemblyInfo.cs │ │ ├── Resources/ │ │ │ ├── AboutResources.txt │ │ │ ├── Resource.Designer.cs │ │ │ ├── layout/ │ │ │ │ ├── Tabbar.axml │ │ │ │ └── Toolbar.axml │ │ │ └── values/ │ │ │ └── styles.xml │ │ ├── Timeline.Android.csproj │ │ └── packages.config │ ├── Timeline.UWP/ │ │ ├── App.xaml │ │ ├── App.xaml.cs │ │ ├── MainPage.xaml │ │ ├── MainPage.xaml.cs │ │ ├── Package.appxmanifest │ │ ├── Properties/ │ │ │ ├── AssemblyInfo.cs │ │ │ └── Default.rd.xml │ │ ├── Timeline.UWP.csproj │ │ └── project.json │ └── Timeline.iOS/ │ ├── AppDelegate.cs │ ├── Entitlements.plist │ ├── Info.plist │ ├── Main.cs │ ├── Properties/ │ │ └── AssemblyInfo.cs │ ├── Resources/ │ │ └── LaunchScreen.storyboard │ ├── Timeline.iOS.csproj │ ├── iTunesArtwork │ ├── iTunesArtwork@2x │ └── packages.config └── Timeline.sln ================================================ FILE CONTENTS ================================================ ================================================ FILE: .gitattributes ================================================ ############################################################################### # Set default behavior to automatically normalize line endings. ############################################################################### * text=auto ############################################################################### # Set default behavior for command prompt diff. # # This is need for earlier builds of msysgit that does not have it on by # default for csharp files. # Note: This is only used by command line ############################################################################### #*.cs diff=csharp ############################################################################### # Set the merge driver for project and solution files # # Merging from the command prompt will add diff markers to the files if there # are conflicts (Merging from VS is not affected by the settings below, in VS # the diff markers are never inserted). Diff markers may cause the following # file extensions to fail to load in VS. An alternative would be to treat # these files as binary and thus will always conflict and require user # intervention with every merge. To do so, just uncomment the entries below ############################################################################### #*.sln merge=binary #*.csproj merge=binary #*.vbproj merge=binary #*.vcxproj merge=binary #*.vcproj merge=binary #*.dbproj merge=binary #*.fsproj merge=binary #*.lsproj merge=binary #*.wixproj merge=binary #*.modelproj merge=binary #*.sqlproj merge=binary #*.wwaproj merge=binary ############################################################################### # behavior for image files # # image files are treated as binary by default. ############################################################################### #*.jpg binary #*.png binary #*.gif binary ############################################################################### # diff behavior for common document formats # # Convert binary document formats to text before diffing them. This feature # is only available from the command line. Turn it on by uncommenting the # entries below. ############################################################################### #*.doc diff=astextplain #*.DOC diff=astextplain #*.docx diff=astextplain #*.DOCX diff=astextplain #*.dot diff=astextplain #*.DOT diff=astextplain #*.pdf diff=astextplain #*.PDF diff=astextplain #*.rtf diff=astextplain #*.RTF diff=astextplain ================================================ FILE: .gitignore ================================================ ## Ignore Visual Studio temporary files, build results, and ## files generated by popular Visual Studio add-ons. # User-specific files *.suo *.user *.userosscache *.sln.docstates # User-specific files (MonoDevelop/Xamarin Studio) *.userprefs # Build results [Dd]ebug/ [Dd]ebugPublic/ [Rr]elease/ [Rr]eleases/ x64/ x86/ bld/ [Bb]in/ [Oo]bj/ [Ll]og/ # Visual Studio 2015 cache/options directory .vs/ # Uncomment if you have tasks that create the project's static files in wwwroot #wwwroot/ # MSTest test Results [Tt]est[Rr]esult*/ [Bb]uild[Ll]og.* # NUNIT *.VisualState.xml TestResult.xml # Build Results of an ATL Project [Dd]ebugPS/ [Rr]eleasePS/ dlldata.c # DNX project.lock.json artifacts/ *_i.c *_p.c *_i.h *.ilk *.meta *.obj *.pch *.pdb *.pgc *.pgd *.rsp *.sbr *.tlb *.tli *.tlh *.tmp *.tmp_proj *.log *.vspscc *.vssscc .builds *.pidb *.svclog *.scc # Chutzpah Test files _Chutzpah* # Visual C++ cache files ipch/ *.aps *.ncb *.opendb *.opensdf *.sdf *.cachefile *.VC.db *.VC.VC.opendb # Visual Studio profiler *.psess *.vsp *.vspx *.sap # TFS 2012 Local Workspace $tf/ # Guidance Automation Toolkit *.gpState # ReSharper is a .NET coding add-in _ReSharper*/ *.[Rr]e[Ss]harper *.DotSettings.user # JustCode is a .NET coding add-in .JustCode # TeamCity is a build add-in _TeamCity* # DotCover is a Code Coverage Tool *.dotCover # NCrunch _NCrunch_* .*crunch*.local.xml nCrunchTemp_* # MightyMoose *.mm.* AutoTest.Net/ # Web workbench (sass) .sass-cache/ # Installshield output folder [Ee]xpress/ # DocProject is a documentation generator add-in DocProject/buildhelp/ DocProject/Help/*.HxT DocProject/Help/*.HxC DocProject/Help/*.hhc DocProject/Help/*.hhk DocProject/Help/*.hhp DocProject/Help/Html2 DocProject/Help/html # Click-Once directory publish/ # Publish Web Output *.[Pp]ublish.xml *.azurePubxml # TODO: Comment the next line if you want to checkin your web deploy settings # but database connection strings (with potential passwords) will be unencrypted *.pubxml *.publishproj # Microsoft Azure Web App publish settings. Comment the next line if you want to # checkin your Azure Web App publish settings, but sensitive information contained # in these scripts will be unencrypted PublishScripts/ # NuGet Packages *.nupkg # The packages folder can be ignored because of Package Restore **/packages/* # except build/, which is used as an MSBuild target. !**/packages/build/ # Uncomment if necessary however generally it will be regenerated when needed #!**/packages/repositories.config # NuGet v3's project.json files produces more ignoreable files *.nuget.props *.nuget.targets # Microsoft Azure Build Output csx/ *.build.csdef # Microsoft Azure Emulator ecf/ rcf/ # Windows Store app package directories and files AppPackages/ BundleArtifacts/ Package.StoreAssociation.xml _pkginfo.txt # Visual Studio cache files # files ending in .cache can be ignored *.[Cc]ache # but keep track of directories ending in .cache !*.[Cc]ache/ # Others ClientBin/ ~$* *~ *.dbmdl *.dbproj.schemaview *.pfx *.publishsettings node_modules/ orleans.codegen.cs # Since there are multiple workflows, uncomment next line to ignore bower_components # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) #bower_components/ # RIA/Silverlight projects Generated_Code/ # Backup & report files from converting an old project file # to a newer Visual Studio version. Backup files are not needed, # because we have git ;-) _UpgradeReport_Files/ Backup*/ UpgradeLog*.XML UpgradeLog*.htm # SQL Server files *.mdf *.ldf # Business Intelligence projects *.rdl.data *.bim.layout *.bim_*.settings # Microsoft Fakes FakesAssemblies/ # GhostDoc plugin setting file *.GhostDoc.xml # Node.js Tools for Visual Studio .ntvs_analysis.dat # Visual Studio 6 build log *.plg # Visual Studio 6 workspace options file *.opt # Visual Studio LightSwitch build output **/*.HTMLClient/GeneratedArtifacts **/*.DesktopClient/GeneratedArtifacts **/*.DesktopClient/ModelManifest.xml **/*.Server/GeneratedArtifacts **/*.Server/ModelManifest.xml _Pvt_Extensions # Paket dependency manager .paket/paket.exe paket-files/ # FAKE - F# Make .fake/ # JetBrains Rider .idea/ *.sln.iml ================================================ FILE: Formula1/Formula1/Formula1/App.xaml ================================================ #9E4368 #444444 #809AAF White #F1F2F6 HelveticaNeue sans-serif HelveticaNeue-Light sans-serif-light HelveticaNeue-Medium sans-serif-medium 30 20 18 14 ================================================ FILE: Formula1/Formula1/Formula1/App.xaml.cs ================================================ using System; using System.Collections.Generic; using System.Linq; using System.Text; using Formula1.Views; using Xamarin.Forms; namespace Formula1 { public partial class App : Application { public App() { InitializeComponent(); // Content Page MainPage = new DriverDetailsPage(Data.DataRepository.Drivers[0]); // Stack / Hierarchical navigation //MainPage = new NavigationPage(new Formula1.DriverRankingsPage()) //{ // BarBackgroundColor = Color.FromHex("#9E4368"), // BarTextColor = Color.White //}; // Tabbed Page //MainPage = new TabbedContainer(); // Master Detail Page //MainPage = new MasterDetailContainer(); //if (Device.RuntimePlatform == Device.iOS) // MainPage = new TabbedContainer(); //else //MainPage = new MasterDetailContainer(); } protected override void OnStart() { // Handle when your app starts } protected override void OnSleep() { // Handle when your app sleeps } protected override void OnResume() { // Handle when your app resumes } } } ================================================ FILE: Formula1/Formula1/Formula1/Converters/ImageResourceConverter.cs ================================================ using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; namespace Formula1 { public class ImageResourceConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) { return ImageSource.FromResource("Formula1.Images." + (value ?? "") + ".jpg"); } public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) { throw new NotSupportedException(); } } } ================================================ FILE: Formula1/Formula1/Formula1/Converters/NotBooleanConverter.cs ================================================ using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace Formula1 { public class NotBooleanConverter : IMarkupExtension, IValueConverter { /// /// Converts a value. /// /// /// A converted value. If the method returns null, the valid null value is used. /// /// The value produced by the binding source.The type of the binding target property.The converter parameter to use.The culture to use in the converter. public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { if (targetType != typeof(bool)) throw new ArgumentException("Bad type conversion for NotBooleanConverter"); bool flag = false; if (value != null && value is bool) { flag = (bool)value; } return !flag; } /// /// Converts a value. /// /// /// A converted value. If the method returns null, the valid null value is used. /// /// The value that is produced by the binding target.The type to convert to.The converter parameter to use.The culture to use in the converter. public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) { return Convert(value, targetType, parameter, culture); } /// /// Returns the converter /// /// /// public object ProvideValue(IServiceProvider serviceProvider) { return this; } } } ================================================ FILE: Formula1/Formula1/Formula1/Data/DataRepository.cs ================================================ using Formula1.Models; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Formula1.Data { public static class DataRepository { public static IList Drivers { get; } public static IList Races { get; } public static Driver MockDriver { get { return Drivers[0]; } } public static Race MockRace { get { return Races[0]; } } static DataRepository() { Drivers = new ObservableCollection { new Driver { Name = "Sebastian Vettel", Team = "Ferrari", Country = "Germany", Points = 171, Podiums = 0, GrandPrixEnetered = 0, WorldChampionships = 4, HighestRaceFinish = "1 (x45)", HighestGridPosition = 1, DateOfBirth = new DateTime(1987,7,3), PlaceOfBirth = "Heppenheim, Germany", Bio="A tour de force as he swept to four straight world championship crowns and countless Formula One records, Sebastian Vettel’s relentless hunger for victory, as much as his outstanding talent, secure his place as one of the sport’s greats." }, new Driver { Name = "Lewis Hamilton", Team = "Mercedes", Country = "United Kingdom", Points = 151 }, new Driver { Name = "Daniel Ricciardo", Team = "Red Bull Racing", Country = "Australia", Points = 107 }, new Driver { Name = "Kimi Raikkonen", Team = "Ferrari", Country = "Finland", Points = 83 }, new Driver { Name = "Sergio Perez", Team = "Force India", Country = "Mexico", Points = 45 }, new Driver { Name = "Max Verstappen", Team = "Red Bull Racing", Country = "Netherlands", Points = 45 }, new Driver { Name = "Esteban Ocon", Team = "Force India", Country = "France", Points = 39 }, new Driver { Name = "Carlos Sainz", Team = "Toro Rosso", Country = "Spain", Points = 29 }, new Driver { Name = "Felipe Massa", Team = "Williams", Country = "Brazil", Points = 22 }, }; Races = new ObservableCollection() { new Race { Name="Australian Grand Prix", Circuit="Melbourne", CircuitLength=5.303, RaceDistance=307.574, NumberOfLaps=58, Date = new DateTime(2017, 03, 26), MapUrl = @"https://www.formula1.com/content/fom-website/en/championship/races/2017/Australia/_jcr_content/circuitMap.img.png/1458295855148.png" }, new Race { Name="Chinese Grand Prix", Circuit="Shanghai International Circuit", CircuitLength=5.451, RaceDistance=305.066, NumberOfLaps=56, Date = new DateTime(2017, 04, 09) }, new Race { Name="Bahrain Grand Prix", Circuit="Bahrain International Circuit", CircuitLength=5.451, RaceDistance=305.066, NumberOfLaps=56, Date = new DateTime(2017, 04, 16) }, new Race { Name="Russian Grand Prix", Circuit="Sochi Autodrom", CircuitLength=5.848, RaceDistance=305.066, NumberOfLaps=53, Date = new DateTime(2017, 04, 30) }, new Race { Name="Premio De Espana", Circuit="Circuit De Barcelona-Catalunya", CircuitLength=4.655, RaceDistance=307.104, NumberOfLaps=66, Date = new DateTime(2017, 05, 14) }, new Race { Name="Grand Prix De Monaco", Circuit="Circuit De Monaco", CircuitLength=3.337, RaceDistance=260.286, NumberOfLaps=78, Date = new DateTime(2017, 05, 28) }, new Race { Name="Grand Prix Du Canada", Circuit="Circuit Gilles-Villeneuve", CircuitLength=361, RaceDistance=305.27, NumberOfLaps=70, Date = new DateTime(2017, 06, 11), IsLast=true }, }; } } } ================================================ FILE: Formula1/Formula1/Formula1/Formula1.csproj ================================================  11.0 Debug AnyCPU {BA54DC9D-183B-48DD-83BF-86365627771D} Library Properties Formula1 Formula1 512 v4.5 Profile259 {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} true full false bin\Debug\ DEBUG;TRACE prompt 4 pdbonly true bin\Release\ TRACE prompt 4 App.xaml DriverDetailsPage.xaml DriverRankingsPage.xaml MainPage.xaml MasterDetailContainer.xaml MenuPage.xaml RaceDetailsPage.xaml RaceSchedulePage.xaml StackPage.xaml TabbedContainer.xaml Designer MSBuild:UpdateDesignTimeXaml Designer MSBuild:UpdateDesignTimeXaml MSBuild:UpdateDesignTimeXaml ..\..\packages\Xam.Plugins.Forms.ImageCircle.1.8.1\lib\portable-net45+wp80+win8+wpa81\ImageCircle.Forms.Plugin.Abstractions.dll ..\..\packages\Xamarin.Forms.2.3.4.247\lib\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.Core.dll ..\..\packages\Xamarin.Forms.2.3.4.247\lib\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.Platform.dll ..\..\packages\Xamarin.Forms.2.3.4.247\lib\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.Xaml.dll MSBuild:UpdateDesignTimeXaml Designer MSBuild:UpdateDesignTimeXaml Designer MSBuild:UpdateDesignTimeXaml Designer MSBuild:UpdateDesignTimeXaml Designer MSBuild:UpdateDesignTimeXaml Designer MSBuild:UpdateDesignTimeXaml Designer MSBuild:UpdateDesignTimeXaml Designer This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. ================================================ FILE: Formula1/Formula1/Formula1/MainPage.xaml ================================================  ================================================ FILE: Formula1/Formula1/Formula1/MainPage.xaml.cs ================================================ using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; namespace Formula1 { public partial class MainPage : ContentPage { public MainPage() { InitializeComponent(); } } } ================================================ FILE: Formula1/Formula1/Formula1/Models/Driver.cs ================================================ using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Formula1.Models { public class Driver { public string Name { get; set; } public int Points { get; set; } public string Team { get; set; } public string Country { get; set; } public int Podiums { get; set; } public int GrandPrixEnetered { get; set; } public int WorldChampionships { get; set; } public string HighestRaceFinish { get; set; } public int HighestGridPosition { get; set; } public DateTime DateOfBirth { get; set; } public string PlaceOfBirth { get; set; } public string Bio { get; set; } public string CountryFlag { get { return $"{Country}.png".Replace(" ", ""); } } public string Photo { get { return $"{Name}.png".Replace(" ", ""); } } } } ================================================ FILE: Formula1/Formula1/Formula1/Models/Race.cs ================================================ using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Formula1.Models { public class Race { public string Name { get; set; } public string Circuit { get; set; } public int NumberOfLaps { get; set; } public double CircuitLength { get; set; } public double RaceDistance { get; set; } public DateTime Date { get; set; } public string MapUrl { get; set; } public bool IsLast { get; set; } } } ================================================ FILE: Formula1/Formula1/Formula1/Properties/AssemblyInfo.cs ================================================ using System.Resources; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Formula1")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("Formula1")] [assembly: AssemblyCopyright("Copyright © 2014")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: NeutralResourcesLanguage("en")] // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")] ================================================ FILE: Formula1/Formula1/Formula1/Views/DriverDetailsPage.xaml ================================================ ================================================ FILE: Formula1/Formula1/Formula1/Views/DriverDetailsPage.xaml.cs ================================================ using Formula1.Data; using Formula1.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace Formula1.Views { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class DriverDetailsPage : ContentPage { public DriverDetailsPage() { InitializeComponent(); this.BindingContext = DataRepository.MockDriver; } public DriverDetailsPage (Driver driver) { InitializeComponent (); this.BindingContext = driver; } } } ================================================ FILE: Formula1/Formula1/Formula1/Views/DriverRankingsPage.xaml ================================================ ================================================ FILE: Formula1/Formula1/Formula1/Views/DriverRankingsPage.xaml.cs ================================================ using Formula1.Data; using Formula1.Models; using Formula1.Views; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace Formula1 { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class DriverRankingsPage : ContentPage { public DriverRankingsPage() { InitializeComponent(); BindingContext = DataRepository.Drivers; } //protected override void OnAppearing() //{ // base.OnAppearing(); //} //protected override void OnDisappearing() //{ // BindingContext = null; // Content = null; // base.OnDisappearing(); // GC.Collect(); //} private void DriverList_ItemTapped(object sender, ItemTappedEventArgs e) { DriverList.SelectedItem = null; Driver selectedDriver = e.Item as Driver; this.Navigation.PushAsync(new DriverDetailsPage(selectedDriver)); } ~DriverRankingsPage() { System.Diagnostics.Debug.WriteLine("Finishing DriverRankings page"); } } } ================================================ FILE: Formula1/Formula1/Formula1/Views/MasterDetailContainer.xaml ================================================  ================================================ FILE: Formula1/Formula1/Formula1/Views/MasterDetailContainer.xaml.cs ================================================ using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace Formula1 { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class MasterDetailContainer : MasterDetailPage { public MasterDetailContainer () { InitializeComponent (); masterPage.ListView.ItemSelected += ListView_ItemSelected; } private void ListView_ItemSelected(object sender, SelectedItemChangedEventArgs e) { var item = e.SelectedItem as MenuPageItem; if (item != null) { Detail = new NavigationPage((Page)Activator.CreateInstance(item.TargetType)); masterPage.ListView.SelectedItem = null; IsPresented = false; } } } } ================================================ FILE: Formula1/Formula1/Formula1/Views/MenuPage.xaml ================================================  ================================================ FILE: Formula1/Formula1/Formula1/Views/MenuPage.xaml.cs ================================================ using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace Formula1 { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class MenuPage : ContentPage { public ListView ListView { get { return menuListView; } } public MenuPage () { InitializeComponent (); var menuPageItems = new List(); menuPageItems.Add(new MenuPageItem { Title = "Driver Rankings", IconSource = "Trophy_Black.png", TargetType = typeof(DriverRankingsPage) }); menuPageItems.Add(new MenuPageItem { Title = "Race Schedule", IconSource = "Calendar_Black.png", TargetType = typeof(RaceSchedulePage) }); menuListView.ItemsSource = menuPageItems; } } public class MenuPageItem { public string Title { get; set; } public string IconSource { get; set; } public Type TargetType { get; set; } } } ================================================ FILE: Formula1/Formula1/Formula1/Views/RaceDetailsPage.xaml ================================================ ================================================ FILE: Formula1/Formula1/Formula1/Views/RaceDetailsPage.xaml.cs ================================================ using Formula1.Data; using Formula1.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace Formula1 { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class RaceDetailsPage : ContentPage { public RaceDetailsPage () { InitializeComponent (); this.BindingContext = DataRepository.MockRace; } public RaceDetailsPage(Race race) { InitializeComponent(); this.BindingContext = race; } } } ================================================ FILE: Formula1/Formula1/Formula1/Views/RaceSchedulePage.xaml ================================================ ================================================ FILE: Formula1/Formula1/Formula1/Views/RaceSchedulePage.xaml.cs ================================================ using Formula1.Data; using Formula1.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace Formula1 { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class RaceSchedulePage : ContentPage { public RaceSchedulePage () { InitializeComponent (); BindingContext = DataRepository.Races; } private void timelineListView_ItemTapped(object sender, ItemTappedEventArgs e) { timelineListView.SelectedItem = null; Race selectedRace = e.Item as Race; this.Navigation.PushAsync(new RaceDetailsPage(selectedRace)); } ~RaceSchedulePage() { System.Diagnostics.Debug.WriteLine("Finishing RaceSchedulePage page"); } } } ================================================ FILE: Formula1/Formula1/Formula1/Views/StackPage.xaml ================================================