├── .gitattributes
├── .gitignore
├── LICENSE.txt
├── README.md
├── XFDelivery.sln
└── XFDelivery
├── XFDelivery.Android
├── Assets
│ └── AboutAssets.txt
├── Interfaces
│ └── StatusBarStyle.cs
├── MainActivity.cs
├── Properties
│ ├── AndroidManifest.xml
│ └── AssemblyInfo.cs
├── Resources
│ ├── AboutResources.txt
│ ├── Resource.designer.cs
│ ├── drawable
│ │ ├── arrow_left.png
│ │ ├── brigadeiro.png
│ │ ├── burger.png
│ │ ├── calories.png
│ │ ├── cart.png
│ │ ├── item1.png
│ │ ├── item2.png
│ │ ├── item3.png
│ │ ├── junk_food.png
│ │ ├── person1.png
│ │ ├── person2.png
│ │ ├── pizza.png
│ │ ├── search.png
│ │ └── star.png
│ ├── layout
│ │ ├── Tabbar.xml
│ │ └── Toolbar.xml
│ ├── mipmap-anydpi-v26
│ │ ├── icon.xml
│ │ └── icon_round.xml
│ ├── mipmap-hdpi
│ │ ├── icon.png
│ │ └── launcher_foreground.png
│ ├── mipmap-mdpi
│ │ ├── icon.png
│ │ └── launcher_foreground.png
│ ├── mipmap-xhdpi
│ │ ├── icon.png
│ │ └── launcher_foreground.png
│ ├── mipmap-xxhdpi
│ │ ├── icon.png
│ │ └── launcher_foreground.png
│ ├── mipmap-xxxhdpi
│ │ ├── icon.png
│ │ └── launcher_foreground.png
│ └── values
│ │ ├── colors.xml
│ │ └── styles.xml
└── XFDelivery.Android.csproj
├── XFDelivery.iOS
├── AppDelegate.cs
├── Assets.xcassets
│ └── AppIcon.appiconset
│ │ ├── Contents.json
│ │ ├── Icon1024.png
│ │ ├── Icon120.png
│ │ ├── Icon152.png
│ │ ├── Icon167.png
│ │ ├── Icon180.png
│ │ ├── Icon20.png
│ │ ├── Icon29.png
│ │ ├── Icon40.png
│ │ ├── Icon58.png
│ │ ├── Icon60.png
│ │ ├── Icon76.png
│ │ ├── Icon80.png
│ │ └── Icon87.png
├── Entitlements.plist
├── Info.plist
├── Main.cs
├── Properties
│ └── AssemblyInfo.cs
├── Resources
│ ├── Default-568h@2x.png
│ ├── Default-Portrait.png
│ ├── Default-Portrait@2x.png
│ ├── Default.png
│ ├── Default@2x.png
│ ├── LaunchScreen.storyboard
│ ├── arrow_left.png
│ ├── arrow_left@2x.png
│ ├── arrow_left@3x.png
│ ├── brigadeiro.png
│ ├── brigadeiro@2x.png
│ ├── brigadeiro@3x.png
│ ├── burger.png
│ ├── burger@2x.png
│ ├── burger@3x.png
│ ├── calories.png
│ ├── calories@2x.png
│ ├── calories@3x.png
│ ├── cart.png
│ ├── cart@2x.png
│ ├── cart@3x.png
│ ├── item1.png
│ ├── item1@2x.png
│ ├── item1@3x.png
│ ├── item2.png
│ ├── item2@2x.png
│ ├── item2@3x.png
│ ├── item3.png
│ ├── item3@2x.png
│ ├── item3@3x.png
│ ├── junk_food.png
│ ├── junk_food@2x.png
│ ├── junk_food@3x.png
│ ├── person1.png
│ ├── person2.png
│ ├── pizza.png
│ ├── pizza@2x.png
│ ├── pizza@3x.png
│ ├── search.png
│ ├── search@2x.png
│ ├── search@3x.png
│ ├── star.png
│ ├── star@2x.png
│ └── star@3x.png
└── XFDelivery.iOS.csproj
└── XFDelivery
├── App.xaml
├── App.xaml.cs
├── AssemblyInfo.cs
├── Fonts
├── FontIcons.cs
├── Poppins-Medium.ttf
├── Poppins-Regular.ttf
├── Poppins-SemiBold.ttf
└── fontello.ttf
├── Interfaces
└── IStatusBarStyle.cs
├── Models
├── Group.cs
└── Item.cs
├── Service
└── DataService.cs
├── ViewModels
├── BaseViewModel.cs
├── DetailPageViewModel.cs
└── MainPageViewModel.cs
├── Views
├── DetailPage.xaml
├── DetailPage.xaml.cs
├── MainPage.xaml
└── MainPage.xaml.cs
└── XFDelivery.csproj
/.gitattributes:
--------------------------------------------------------------------------------
1 | ###############################################################################
2 | # Set default behavior to automatically normalize line endings.
3 | ###############################################################################
4 | * text=auto
5 |
6 | ###############################################################################
7 | # Set default behavior for command prompt diff.
8 | #
9 | # This is need for earlier builds of msysgit that does not have it on by
10 | # default for csharp files.
11 | # Note: This is only used by command line
12 | ###############################################################################
13 | #*.cs diff=csharp
14 |
15 | ###############################################################################
16 | # Set the merge driver for project and solution files
17 | #
18 | # Merging from the command prompt will add diff markers to the files if there
19 | # are conflicts (Merging from VS is not affected by the settings below, in VS
20 | # the diff markers are never inserted). Diff markers may cause the following
21 | # file extensions to fail to load in VS. An alternative would be to treat
22 | # these files as binary and thus will always conflict and require user
23 | # intervention with every merge. To do so, just uncomment the entries below
24 | ###############################################################################
25 | #*.sln merge=binary
26 | #*.csproj merge=binary
27 | #*.vbproj merge=binary
28 | #*.vcxproj merge=binary
29 | #*.vcproj merge=binary
30 | #*.dbproj merge=binary
31 | #*.fsproj merge=binary
32 | #*.lsproj merge=binary
33 | #*.wixproj merge=binary
34 | #*.modelproj merge=binary
35 | #*.sqlproj merge=binary
36 | #*.wwaproj merge=binary
37 |
38 | ###############################################################################
39 | # behavior for image files
40 | #
41 | # image files are treated as binary by default.
42 | ###############################################################################
43 | #*.jpg binary
44 | #*.png binary
45 | #*.gif binary
46 |
47 | ###############################################################################
48 | # diff behavior for common document formats
49 | #
50 | # Convert binary document formats to text before diffing them. This feature
51 | # is only available from the command line. Turn it on by uncommenting the
52 | # entries below.
53 | ###############################################################################
54 | #*.doc diff=astextplain
55 | #*.DOC diff=astextplain
56 | #*.docx diff=astextplain
57 | #*.DOCX diff=astextplain
58 | #*.dot diff=astextplain
59 | #*.DOT diff=astextplain
60 | #*.pdf diff=astextplain
61 | #*.PDF diff=astextplain
62 | #*.rtf diff=astextplain
63 | #*.RTF diff=astextplain
64 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | ## Ignore Visual Studio temporary files, build results, and
2 | ## files generated by popular Visual Studio add-ons.
3 | ##
4 | ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
5 |
6 | # User-specific files
7 | *.rsuser
8 | *.suo
9 | *.user
10 | *.userosscache
11 | *.sln.docstates
12 |
13 | # User-specific files (MonoDevelop/Xamarin Studio)
14 | *.userprefs
15 |
16 | # Build results
17 | [Dd]ebug/
18 | [Dd]ebugPublic/
19 | [Rr]elease/
20 | [Rr]eleases/
21 | x64/
22 | x86/
23 | [Aa][Rr][Mm]/
24 | [Aa][Rr][Mm]64/
25 | bld/
26 | [Bb]in/
27 | [Oo]bj/
28 | [Ll]og/
29 |
30 | # Visual Studio 2015/2017 cache/options directory
31 | .vs/
32 | # Uncomment if you have tasks that create the project's static files in wwwroot
33 | #wwwroot/
34 |
35 | # Visual Studio 2017 auto generated files
36 | Generated\ Files/
37 |
38 | # MSTest test Results
39 | [Tt]est[Rr]esult*/
40 | [Bb]uild[Ll]og.*
41 |
42 | # NUNIT
43 | *.VisualState.xml
44 | TestResult.xml
45 |
46 | # Build Results of an ATL Project
47 | [Dd]ebugPS/
48 | [Rr]eleasePS/
49 | dlldata.c
50 |
51 | # Benchmark Results
52 | BenchmarkDotNet.Artifacts/
53 |
54 | # .NET Core
55 | project.lock.json
56 | project.fragment.lock.json
57 | artifacts/
58 |
59 | # StyleCop
60 | StyleCopReport.xml
61 |
62 | # Files built by Visual Studio
63 | *_i.c
64 | *_p.c
65 | *_h.h
66 | *.ilk
67 | *.meta
68 | *.obj
69 | *.iobj
70 | *.pch
71 | *.pdb
72 | *.ipdb
73 | *.pgc
74 | *.pgd
75 | *.rsp
76 | *.sbr
77 | *.tlb
78 | *.tli
79 | *.tlh
80 | *.tmp
81 | *.tmp_proj
82 | *_wpftmp.csproj
83 | *.log
84 | *.vspscc
85 | *.vssscc
86 | .builds
87 | *.pidb
88 | *.svclog
89 | *.scc
90 |
91 | # Chutzpah Test files
92 | _Chutzpah*
93 |
94 | # Visual C++ cache files
95 | ipch/
96 | *.aps
97 | *.ncb
98 | *.opendb
99 | *.opensdf
100 | *.sdf
101 | *.cachefile
102 | *.VC.db
103 | *.VC.VC.opendb
104 |
105 | # Visual Studio profiler
106 | *.psess
107 | *.vsp
108 | *.vspx
109 | *.sap
110 |
111 | # Visual Studio Trace Files
112 | *.e2e
113 |
114 | # TFS 2012 Local Workspace
115 | $tf/
116 |
117 | # Guidance Automation Toolkit
118 | *.gpState
119 |
120 | # ReSharper is a .NET coding add-in
121 | _ReSharper*/
122 | *.[Rr]e[Ss]harper
123 | *.DotSettings.user
124 |
125 | # JustCode is a .NET coding add-in
126 | .JustCode
127 |
128 | # TeamCity is a build add-in
129 | _TeamCity*
130 |
131 | # DotCover is a Code Coverage Tool
132 | *.dotCover
133 |
134 | # AxoCover is a Code Coverage Tool
135 | .axoCover/*
136 | !.axoCover/settings.json
137 |
138 | # Visual Studio code coverage results
139 | *.coverage
140 | *.coveragexml
141 |
142 | # NCrunch
143 | _NCrunch_*
144 | .*crunch*.local.xml
145 | nCrunchTemp_*
146 |
147 | # MightyMoose
148 | *.mm.*
149 | AutoTest.Net/
150 |
151 | # Web workbench (sass)
152 | .sass-cache/
153 |
154 | # Installshield output folder
155 | [Ee]xpress/
156 |
157 | # DocProject is a documentation generator add-in
158 | DocProject/buildhelp/
159 | DocProject/Help/*.HxT
160 | DocProject/Help/*.HxC
161 | DocProject/Help/*.hhc
162 | DocProject/Help/*.hhk
163 | DocProject/Help/*.hhp
164 | DocProject/Help/Html2
165 | DocProject/Help/html
166 |
167 | # Click-Once directory
168 | publish/
169 |
170 | # Publish Web Output
171 | *.[Pp]ublish.xml
172 | *.azurePubxml
173 | # Note: Comment the next line if you want to checkin your web deploy settings,
174 | # but database connection strings (with potential passwords) will be unencrypted
175 | *.pubxml
176 | *.publishproj
177 |
178 | # Microsoft Azure Web App publish settings. Comment the next line if you want to
179 | # checkin your Azure Web App publish settings, but sensitive information contained
180 | # in these scripts will be unencrypted
181 | PublishScripts/
182 |
183 | # NuGet Packages
184 | *.nupkg
185 | # The packages folder can be ignored because of Package Restore
186 | **/[Pp]ackages/*
187 | # except build/, which is used as an MSBuild target.
188 | !**/[Pp]ackages/build/
189 | # Uncomment if necessary however generally it will be regenerated when needed
190 | #!**/[Pp]ackages/repositories.config
191 | # NuGet v3's project.json files produces more ignorable files
192 | *.nuget.props
193 | *.nuget.targets
194 |
195 | # Microsoft Azure Build Output
196 | csx/
197 | *.build.csdef
198 |
199 | # Microsoft Azure Emulator
200 | ecf/
201 | rcf/
202 |
203 | # Windows Store app package directories and files
204 | AppPackages/
205 | BundleArtifacts/
206 | Package.StoreAssociation.xml
207 | _pkginfo.txt
208 | *.appx
209 |
210 | # Visual Studio cache files
211 | # files ending in .cache can be ignored
212 | *.[Cc]ache
213 | # but keep track of directories ending in .cache
214 | !?*.[Cc]ache/
215 |
216 | # Others
217 | ClientBin/
218 | ~$*
219 | *~
220 | *.dbmdl
221 | *.dbproj.schemaview
222 | *.jfm
223 | *.pfx
224 | *.publishsettings
225 | orleans.codegen.cs
226 |
227 | # Including strong name files can present a security risk
228 | # (https://github.com/github/gitignore/pull/2483#issue-259490424)
229 | #*.snk
230 |
231 | # Since there are multiple workflows, uncomment next line to ignore bower_components
232 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
233 | #bower_components/
234 |
235 | # RIA/Silverlight projects
236 | Generated_Code/
237 |
238 | # Backup & report files from converting an old project file
239 | # to a newer Visual Studio version. Backup files are not needed,
240 | # because we have git ;-)
241 | _UpgradeReport_Files/
242 | Backup*/
243 | UpgradeLog*.XML
244 | UpgradeLog*.htm
245 | ServiceFabricBackup/
246 | *.rptproj.bak
247 |
248 | # SQL Server files
249 | *.mdf
250 | *.ldf
251 | *.ndf
252 |
253 | # Business Intelligence projects
254 | *.rdl.data
255 | *.bim.layout
256 | *.bim_*.settings
257 | *.rptproj.rsuser
258 | *- Backup*.rdl
259 |
260 | # Microsoft Fakes
261 | FakesAssemblies/
262 |
263 | # GhostDoc plugin setting file
264 | *.GhostDoc.xml
265 |
266 | # Node.js Tools for Visual Studio
267 | .ntvs_analysis.dat
268 | node_modules/
269 |
270 | # Visual Studio 6 build log
271 | *.plg
272 |
273 | # Visual Studio 6 workspace options file
274 | *.opt
275 |
276 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
277 | *.vbw
278 |
279 | # Visual Studio LightSwitch build output
280 | **/*.HTMLClient/GeneratedArtifacts
281 | **/*.DesktopClient/GeneratedArtifacts
282 | **/*.DesktopClient/ModelManifest.xml
283 | **/*.Server/GeneratedArtifacts
284 | **/*.Server/ModelManifest.xml
285 | _Pvt_Extensions
286 |
287 | # Paket dependency manager
288 | .paket/paket.exe
289 | paket-files/
290 |
291 | # FAKE - F# Make
292 | .fake/
293 |
294 | # JetBrains Rider
295 | .idea/
296 | *.sln.iml
297 |
298 | # CodeRush personal settings
299 | .cr/personal
300 |
301 | # Python Tools for Visual Studio (PTVS)
302 | __pycache__/
303 | *.pyc
304 |
305 | # Cake - Uncomment if you are using it
306 | # tools/**
307 | # !tools/packages.config
308 |
309 | # Tabs Studio
310 | *.tss
311 |
312 | # Telerik's JustMock configuration file
313 | *.jmconfig
314 |
315 | # BizTalk build output
316 | *.btp.cs
317 | *.btm.cs
318 | *.odx.cs
319 | *.xsd.cs
320 |
321 | # OpenCover UI analysis results
322 | OpenCover/
323 |
324 | # Azure Stream Analytics local run output
325 | ASALocalRun/
326 |
327 | # MSBuild Binary and Structured Log
328 | *.binlog
329 |
330 | # NVidia Nsight GPU debugger configuration file
331 | *.nvuser
332 |
333 | # MFractors (Xamarin productivity tool) working folder
334 | .mfractor/
335 |
336 | # Local History for Visual Studio
337 | .localhistory/
338 |
339 | # BeatPulse healthcheck temp database
340 | healthchecksdb
--------------------------------------------------------------------------------
/LICENSE.txt:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2020 Altevir Cardoso Neto
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Xamarin.Forms Delivery
2 | Conceito de App desenvolvido com XamarinForms.
3 | O que foi usado no desenvolvimento:
4 | - Padrão MVVM (sem framework)
5 | - PancakeView (https://github.com/sthewissen/Xamarin.Forms.PancakeView)
6 | - Embedded Fonts (https://docs.microsoft.com/en-us/xamarin/xamarin-forms/user-interface/text/fonts)
7 | - Sharpnado.Shadows (https://github.com/roubachof/Sharpnado.Shadows)
8 | - CollectionView
9 | - Shapes (Path) - Nova feature do Xamarin.Forms
10 | - XamarinForms 4.7.0.968
11 |
12 | ## Screenshots
13 | ### Android
14 | 
15 | 
16 |
17 | ### iOS
18 | 
19 | 
20 |
21 | ### GIF
22 | 
23 |
24 | ## Créditos
25 | ### Design
26 | https://www.uplabs.com/posts/food-delivery-app-3a6906ff-4479-455b-92af-8be386f4242d
27 | 
28 |
29 | ### Licença
30 | MIT - Consulte o arquivo LICENSE.txt
31 |
--------------------------------------------------------------------------------
/XFDelivery.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.30128.74
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XFDelivery.Android", "XFDelivery\XFDelivery.Android\XFDelivery.Android.csproj", "{CC5176FA-996F-45CE-8E3F-F423EFA59F5A}"
7 | EndProject
8 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XFDelivery.iOS", "XFDelivery\XFDelivery.iOS\XFDelivery.iOS.csproj", "{7B09B5ED-2771-4F07-8721-DB7CD2071742}"
9 | EndProject
10 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XFDelivery", "XFDelivery\XFDelivery\XFDelivery.csproj", "{50487222-0D0C-4CCD-AAF1-95820EFE5817}"
11 | EndProject
12 | Global
13 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
14 | Debug|Any CPU = Debug|Any CPU
15 | Debug|iPhone = Debug|iPhone
16 | Debug|iPhoneSimulator = Debug|iPhoneSimulator
17 | Release|Any CPU = Release|Any CPU
18 | Release|iPhone = Release|iPhone
19 | Release|iPhoneSimulator = Release|iPhoneSimulator
20 | EndGlobalSection
21 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
22 | {CC5176FA-996F-45CE-8E3F-F423EFA59F5A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
23 | {CC5176FA-996F-45CE-8E3F-F423EFA59F5A}.Debug|Any CPU.Build.0 = Debug|Any CPU
24 | {CC5176FA-996F-45CE-8E3F-F423EFA59F5A}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
25 | {CC5176FA-996F-45CE-8E3F-F423EFA59F5A}.Debug|iPhone.ActiveCfg = Debug|Any CPU
26 | {CC5176FA-996F-45CE-8E3F-F423EFA59F5A}.Debug|iPhone.Build.0 = Debug|Any CPU
27 | {CC5176FA-996F-45CE-8E3F-F423EFA59F5A}.Debug|iPhone.Deploy.0 = Debug|Any CPU
28 | {CC5176FA-996F-45CE-8E3F-F423EFA59F5A}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
29 | {CC5176FA-996F-45CE-8E3F-F423EFA59F5A}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
30 | {CC5176FA-996F-45CE-8E3F-F423EFA59F5A}.Debug|iPhoneSimulator.Deploy.0 = Debug|Any CPU
31 | {CC5176FA-996F-45CE-8E3F-F423EFA59F5A}.Release|Any CPU.ActiveCfg = Release|Any CPU
32 | {CC5176FA-996F-45CE-8E3F-F423EFA59F5A}.Release|Any CPU.Build.0 = Release|Any CPU
33 | {CC5176FA-996F-45CE-8E3F-F423EFA59F5A}.Release|Any CPU.Deploy.0 = Release|Any CPU
34 | {CC5176FA-996F-45CE-8E3F-F423EFA59F5A}.Release|iPhone.ActiveCfg = Release|Any CPU
35 | {CC5176FA-996F-45CE-8E3F-F423EFA59F5A}.Release|iPhone.Build.0 = Release|Any CPU
36 | {CC5176FA-996F-45CE-8E3F-F423EFA59F5A}.Release|iPhone.Deploy.0 = Release|Any CPU
37 | {CC5176FA-996F-45CE-8E3F-F423EFA59F5A}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
38 | {CC5176FA-996F-45CE-8E3F-F423EFA59F5A}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
39 | {CC5176FA-996F-45CE-8E3F-F423EFA59F5A}.Release|iPhoneSimulator.Deploy.0 = Release|Any CPU
40 | {7B09B5ED-2771-4F07-8721-DB7CD2071742}.Debug|Any CPU.ActiveCfg = Debug|iPhone
41 | {7B09B5ED-2771-4F07-8721-DB7CD2071742}.Debug|Any CPU.Build.0 = Debug|iPhone
42 | {7B09B5ED-2771-4F07-8721-DB7CD2071742}.Debug|Any CPU.Deploy.0 = Debug|iPhone
43 | {7B09B5ED-2771-4F07-8721-DB7CD2071742}.Debug|iPhone.ActiveCfg = Debug|iPhone
44 | {7B09B5ED-2771-4F07-8721-DB7CD2071742}.Debug|iPhone.Build.0 = Debug|iPhone
45 | {7B09B5ED-2771-4F07-8721-DB7CD2071742}.Debug|iPhone.Deploy.0 = Debug|iPhone
46 | {7B09B5ED-2771-4F07-8721-DB7CD2071742}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
47 | {7B09B5ED-2771-4F07-8721-DB7CD2071742}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
48 | {7B09B5ED-2771-4F07-8721-DB7CD2071742}.Debug|iPhoneSimulator.Deploy.0 = Debug|iPhoneSimulator
49 | {7B09B5ED-2771-4F07-8721-DB7CD2071742}.Release|Any CPU.ActiveCfg = Release|iPhone
50 | {7B09B5ED-2771-4F07-8721-DB7CD2071742}.Release|Any CPU.Build.0 = Release|iPhone
51 | {7B09B5ED-2771-4F07-8721-DB7CD2071742}.Release|Any CPU.Deploy.0 = Release|iPhone
52 | {7B09B5ED-2771-4F07-8721-DB7CD2071742}.Release|iPhone.ActiveCfg = Release|iPhone
53 | {7B09B5ED-2771-4F07-8721-DB7CD2071742}.Release|iPhone.Build.0 = Release|iPhone
54 | {7B09B5ED-2771-4F07-8721-DB7CD2071742}.Release|iPhone.Deploy.0 = Release|iPhone
55 | {7B09B5ED-2771-4F07-8721-DB7CD2071742}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
56 | {7B09B5ED-2771-4F07-8721-DB7CD2071742}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
57 | {7B09B5ED-2771-4F07-8721-DB7CD2071742}.Release|iPhoneSimulator.Deploy.0 = Release|iPhoneSimulator
58 | {50487222-0D0C-4CCD-AAF1-95820EFE5817}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
59 | {50487222-0D0C-4CCD-AAF1-95820EFE5817}.Debug|Any CPU.Build.0 = Debug|Any CPU
60 | {50487222-0D0C-4CCD-AAF1-95820EFE5817}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
61 | {50487222-0D0C-4CCD-AAF1-95820EFE5817}.Debug|iPhone.ActiveCfg = Debug|Any CPU
62 | {50487222-0D0C-4CCD-AAF1-95820EFE5817}.Debug|iPhone.Build.0 = Debug|Any CPU
63 | {50487222-0D0C-4CCD-AAF1-95820EFE5817}.Debug|iPhone.Deploy.0 = Debug|Any CPU
64 | {50487222-0D0C-4CCD-AAF1-95820EFE5817}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
65 | {50487222-0D0C-4CCD-AAF1-95820EFE5817}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
66 | {50487222-0D0C-4CCD-AAF1-95820EFE5817}.Debug|iPhoneSimulator.Deploy.0 = Debug|Any CPU
67 | {50487222-0D0C-4CCD-AAF1-95820EFE5817}.Release|Any CPU.ActiveCfg = Release|Any CPU
68 | {50487222-0D0C-4CCD-AAF1-95820EFE5817}.Release|Any CPU.Build.0 = Release|Any CPU
69 | {50487222-0D0C-4CCD-AAF1-95820EFE5817}.Release|Any CPU.Deploy.0 = Release|Any CPU
70 | {50487222-0D0C-4CCD-AAF1-95820EFE5817}.Release|iPhone.ActiveCfg = Release|Any CPU
71 | {50487222-0D0C-4CCD-AAF1-95820EFE5817}.Release|iPhone.Build.0 = Release|Any CPU
72 | {50487222-0D0C-4CCD-AAF1-95820EFE5817}.Release|iPhone.Deploy.0 = Release|Any CPU
73 | {50487222-0D0C-4CCD-AAF1-95820EFE5817}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
74 | {50487222-0D0C-4CCD-AAF1-95820EFE5817}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
75 | {50487222-0D0C-4CCD-AAF1-95820EFE5817}.Release|iPhoneSimulator.Deploy.0 = Release|Any CPU
76 | EndGlobalSection
77 | GlobalSection(SolutionProperties) = preSolution
78 | HideSolutionNode = FALSE
79 | EndGlobalSection
80 | GlobalSection(ExtensibilityGlobals) = postSolution
81 | SolutionGuid = {13701C11-8CFB-4F30-8DEA-B8D190EFA935}
82 | EndGlobalSection
83 | EndGlobal
84 |
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.Android/Assets/AboutAssets.txt:
--------------------------------------------------------------------------------
1 | Any raw assets you want to be deployed with your application can be placed in
2 | this directory (and child directories) and given a Build Action of "AndroidAsset".
3 |
4 | These files will be deployed with your package and will be accessible using Android's
5 | AssetManager, like this:
6 |
7 | public class ReadAsset : Activity
8 | {
9 | protected override void OnCreate (Bundle bundle)
10 | {
11 | base.OnCreate (bundle);
12 |
13 | InputStream input = Assets.Open ("my_asset.txt");
14 | }
15 | }
16 |
17 | Additionally, some Android functions will automatically load asset files:
18 |
19 | Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf");
20 |
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.Android/Interfaces/StatusBarStyle.cs:
--------------------------------------------------------------------------------
1 | using Android.OS;
2 | using Android.Views;
3 | using Xamarin.Forms;
4 | using XFDelivery.Droid.Interfaces;
5 | using XFDelivery.Interfaces;
6 |
7 | [assembly: Dependency(typeof(StatusBarStyle))]
8 | namespace XFDelivery.Droid.Interfaces
9 | {
10 | public class StatusBarStyle : IStatusBarStyle
11 | {
12 | public void ChangeTextColor()
13 | {
14 | if (Build.VERSION.SdkInt >= BuildVersionCodes.M)
15 | {
16 | Device.BeginInvokeOnMainThread(() =>
17 | {
18 | var window = CurrentWindow();
19 | window.DecorView.SystemUiVisibility = (StatusBarVisibility)SystemUiFlags.LightStatusBar;
20 | window.SetStatusBarColor(Android.Graphics.Color.ParseColor("#F4F4F4"));
21 | });
22 | }
23 | }
24 |
25 | Window CurrentWindow()
26 | {
27 | var window = MainActivity.CurrentActivity.Window;
28 | window.ClearFlags(WindowManagerFlags.TranslucentStatus);
29 | window.AddFlags(WindowManagerFlags.DrawsSystemBarBackgrounds);
30 | return window;
31 | }
32 | }
33 | }
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.Android/MainActivity.cs:
--------------------------------------------------------------------------------
1 | using Android.App;
2 | using Android.Content.PM;
3 | using Android.OS;
4 | using Android.Runtime;
5 |
6 | namespace XFDelivery.Droid
7 | {
8 | [Activity(Label = "XFDelivery", Icon = "@mipmap/icon", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
9 | public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity
10 | {
11 | internal static Activity CurrentActivity;
12 |
13 | protected override void OnCreate(Bundle savedInstanceState)
14 | {
15 | TabLayoutResource = Resource.Layout.Tabbar;
16 | ToolbarResource = Resource.Layout.Toolbar;
17 |
18 | base.OnCreate(savedInstanceState);
19 |
20 | Xamarin.Essentials.Platform.Init(this, savedInstanceState);
21 | global::Xamarin.Forms.Forms.Init(this, savedInstanceState);
22 |
23 | CurrentActivity = this;
24 |
25 | LoadApplication(new App());
26 | }
27 | public override void OnRequestPermissionsResult(int requestCode, string[] permissions, [GeneratedEnum] Android.Content.PM.Permission[] grantResults)
28 | {
29 | Xamarin.Essentials.Platform.OnRequestPermissionsResult(requestCode, permissions, grantResults);
30 |
31 | base.OnRequestPermissionsResult(requestCode, permissions, grantResults);
32 | }
33 | }
34 | }
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.Android/Properties/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.Android/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 | using Android.App;
5 |
6 | // General Information about an assembly is controlled through the following
7 | // set of attributes. Change these attribute values to modify the information
8 | // associated with an assembly.
9 | [assembly: AssemblyTitle("XFDelivery.Android")]
10 | [assembly: AssemblyDescription("")]
11 | [assembly: AssemblyConfiguration("")]
12 | [assembly: AssemblyCompany("")]
13 | [assembly: AssemblyProduct("XFDelivery.Android")]
14 | [assembly: AssemblyCopyright("Copyright © 2014")]
15 | [assembly: AssemblyTrademark("")]
16 | [assembly: AssemblyCulture("")]
17 | [assembly: ComVisible(false)]
18 |
19 | // Version information for an assembly consists of the following four values:
20 | //
21 | // Major Version
22 | // Minor Version
23 | // Build Number
24 | // Revision
25 | [assembly: AssemblyVersion("1.0.0.0")]
26 | [assembly: AssemblyFileVersion("1.0.0.0")]
27 |
28 | // Add some common permissions, these can be removed if not needed
29 | [assembly: UsesPermission(Android.Manifest.Permission.Internet)]
30 | [assembly: UsesPermission(Android.Manifest.Permission.WriteExternalStorage)]
31 |
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.Android/Resources/AboutResources.txt:
--------------------------------------------------------------------------------
1 | Images, layout descriptions, binary blobs and string dictionaries can be included
2 | in your application as resource files. Various Android APIs are designed to
3 | operate on the resource IDs instead of dealing with images, strings or binary blobs
4 | directly.
5 |
6 | For example, a sample Android app that contains a user interface layout (main.xml),
7 | an internationalization string table (strings.xml) and some icons (drawable-XXX/icon.png)
8 | would keep its resources in the "Resources" directory of the application:
9 |
10 | Resources/
11 | drawable-hdpi/
12 | icon.png
13 |
14 | drawable-ldpi/
15 | icon.png
16 |
17 | drawable-mdpi/
18 | icon.png
19 |
20 | layout/
21 | main.xml
22 |
23 | values/
24 | strings.xml
25 |
26 | In order to get the build system to recognize Android resources, set the build action to
27 | "AndroidResource". The native Android APIs do not operate directly with filenames, but
28 | instead operate on resource IDs. When you compile an Android application that uses resources,
29 | the build system will package the resources for distribution and generate a class called
30 | "Resource" that contains the tokens for each one of the resources included. For example,
31 | for the above Resources layout, this is what the Resource class would expose:
32 |
33 | public class Resource {
34 | public class drawable {
35 | public const int icon = 0x123;
36 | }
37 |
38 | public class layout {
39 | public const int main = 0x456;
40 | }
41 |
42 | public class strings {
43 | public const int first_string = 0xabc;
44 | public const int second_string = 0xbcd;
45 | }
46 | }
47 |
48 | You would then use R.drawable.icon to reference the drawable/icon.png file, or Resource.layout.main
49 | to reference the layout/main.xml file, or Resource.strings.first_string to reference the first
50 | string in the dictionary file values/strings.xml.
51 |
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.Android/Resources/drawable/arrow_left.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.Android/Resources/drawable/arrow_left.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.Android/Resources/drawable/brigadeiro.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.Android/Resources/drawable/brigadeiro.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.Android/Resources/drawable/burger.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.Android/Resources/drawable/burger.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.Android/Resources/drawable/calories.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.Android/Resources/drawable/calories.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.Android/Resources/drawable/cart.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.Android/Resources/drawable/cart.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.Android/Resources/drawable/item1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.Android/Resources/drawable/item1.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.Android/Resources/drawable/item2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.Android/Resources/drawable/item2.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.Android/Resources/drawable/item3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.Android/Resources/drawable/item3.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.Android/Resources/drawable/junk_food.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.Android/Resources/drawable/junk_food.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.Android/Resources/drawable/person1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.Android/Resources/drawable/person1.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.Android/Resources/drawable/person2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.Android/Resources/drawable/person2.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.Android/Resources/drawable/pizza.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.Android/Resources/drawable/pizza.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.Android/Resources/drawable/search.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.Android/Resources/drawable/search.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.Android/Resources/drawable/star.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.Android/Resources/drawable/star.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.Android/Resources/layout/Tabbar.xml:
--------------------------------------------------------------------------------
1 |
2 |
12 |
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.Android/Resources/layout/Toolbar.xml:
--------------------------------------------------------------------------------
1 |
9 |
10 |
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.Android/Resources/mipmap-anydpi-v26/icon.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.Android/Resources/mipmap-anydpi-v26/icon_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.Android/Resources/mipmap-hdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.Android/Resources/mipmap-hdpi/icon.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.Android/Resources/mipmap-hdpi/launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.Android/Resources/mipmap-hdpi/launcher_foreground.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.Android/Resources/mipmap-mdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.Android/Resources/mipmap-mdpi/icon.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.Android/Resources/mipmap-mdpi/launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.Android/Resources/mipmap-mdpi/launcher_foreground.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.Android/Resources/mipmap-xhdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.Android/Resources/mipmap-xhdpi/icon.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.Android/Resources/mipmap-xhdpi/launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.Android/Resources/mipmap-xhdpi/launcher_foreground.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.Android/Resources/mipmap-xxhdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.Android/Resources/mipmap-xxhdpi/icon.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.Android/Resources/mipmap-xxhdpi/launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.Android/Resources/mipmap-xxhdpi/launcher_foreground.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.Android/Resources/mipmap-xxxhdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.Android/Resources/mipmap-xxxhdpi/icon.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.Android/Resources/mipmap-xxxhdpi/launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.Android/Resources/mipmap-xxxhdpi/launcher_foreground.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.Android/Resources/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #FFFFFF
4 | #3F51B5
5 | #303F9F
6 | #FF4081
7 |
8 |
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.Android/Resources/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
6 |
7 |
26 |
27 |
30 |
31 |
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.Android/XFDelivery.Android.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Debug
5 | AnyCPU
6 | {CC5176FA-996F-45CE-8E3F-F423EFA59F5A}
7 | {EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
8 | {c9e5eea5-ca05-42a1-839b-61506e0a37df}
9 | Library
10 | XFDelivery.Droid
11 | XFDelivery.Android
12 | True
13 | True
14 | Resources\Resource.designer.cs
15 | Resource
16 | Properties\AndroidManifest.xml
17 | Resources
18 | Assets
19 | false
20 | v9.0
21 | true
22 | true
23 | Xamarin.Android.Net.AndroidClientHandler
24 |
25 |
26 |
27 |
28 | true
29 | portable
30 | false
31 | bin\Debug
32 | DEBUG;
33 | prompt
34 | 4
35 | None
36 |
37 |
38 | true
39 | portable
40 | true
41 | bin\Release
42 | prompt
43 | 4
44 | true
45 | false
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 | 1.0.2
59 |
60 |
61 |
62 |
63 | 1.4.2
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 | {4C5F4061-1220-4A87-AFEF-4C100C2B1413}
99 | XFDelivery
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 |
143 |
144 |
145 |
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/AppDelegate.cs:
--------------------------------------------------------------------------------
1 | using Foundation;
2 | using UIKit;
3 |
4 | namespace XFDelivery.iOS
5 | {
6 | // The UIApplicationDelegate for the application. This class is responsible for launching the
7 | // User Interface of the application, as well as listening (and optionally responding) to
8 | // application events from iOS.
9 | [Register("AppDelegate")]
10 | public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate
11 | {
12 | //
13 | // This method is invoked when the application has loaded and is ready to run. In this
14 | // method you should instantiate the window, load the UI into it and then make the window
15 | // visible.
16 | //
17 | // You have 17 seconds to return from this method, or iOS will terminate your application.
18 | //
19 | public override bool FinishedLaunching(UIApplication app, NSDictionary options)
20 | {
21 | global::Xamarin.Forms.Forms.Init();
22 |
23 | Sharpnado.Shades.iOS.iOSShadowsRenderer.Initialize();
24 |
25 | LoadApplication(new App());
26 |
27 | return base.FinishedLaunching(app, options);
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images": [
3 | {
4 | "scale": "2x",
5 | "size": "20x20",
6 | "idiom": "iphone",
7 | "filename": "Icon40.png"
8 | },
9 | {
10 | "scale": "3x",
11 | "size": "20x20",
12 | "idiom": "iphone",
13 | "filename": "Icon60.png"
14 | },
15 | {
16 | "scale": "2x",
17 | "size": "29x29",
18 | "idiom": "iphone",
19 | "filename": "Icon58.png"
20 | },
21 | {
22 | "scale": "3x",
23 | "size": "29x29",
24 | "idiom": "iphone",
25 | "filename": "Icon87.png"
26 | },
27 | {
28 | "scale": "2x",
29 | "size": "40x40",
30 | "idiom": "iphone",
31 | "filename": "Icon80.png"
32 | },
33 | {
34 | "scale": "3x",
35 | "size": "40x40",
36 | "idiom": "iphone",
37 | "filename": "Icon120.png"
38 | },
39 | {
40 | "scale": "2x",
41 | "size": "60x60",
42 | "idiom": "iphone",
43 | "filename": "Icon120.png"
44 | },
45 | {
46 | "scale": "3x",
47 | "size": "60x60",
48 | "idiom": "iphone",
49 | "filename": "Icon180.png"
50 | },
51 | {
52 | "scale": "1x",
53 | "size": "20x20",
54 | "idiom": "ipad",
55 | "filename": "Icon20.png"
56 | },
57 | {
58 | "scale": "2x",
59 | "size": "20x20",
60 | "idiom": "ipad",
61 | "filename": "Icon40.png"
62 | },
63 | {
64 | "scale": "1x",
65 | "size": "29x29",
66 | "idiom": "ipad",
67 | "filename": "Icon29.png"
68 | },
69 | {
70 | "scale": "2x",
71 | "size": "29x29",
72 | "idiom": "ipad",
73 | "filename": "Icon58.png"
74 | },
75 | {
76 | "scale": "1x",
77 | "size": "40x40",
78 | "idiom": "ipad",
79 | "filename": "Icon40.png"
80 | },
81 | {
82 | "scale": "2x",
83 | "size": "40x40",
84 | "idiom": "ipad",
85 | "filename": "Icon80.png"
86 | },
87 | {
88 | "scale": "1x",
89 | "size": "76x76",
90 | "idiom": "ipad",
91 | "filename": "Icon76.png"
92 | },
93 | {
94 | "scale": "2x",
95 | "size": "76x76",
96 | "idiom": "ipad",
97 | "filename": "Icon152.png"
98 | },
99 | {
100 | "scale": "2x",
101 | "size": "83.5x83.5",
102 | "idiom": "ipad",
103 | "filename": "Icon167.png"
104 | },
105 | {
106 | "scale": "1x",
107 | "size": "1024x1024",
108 | "idiom": "ios-marketing",
109 | "filename": "Icon1024.png"
110 | }
111 | ],
112 | "properties": {},
113 | "info": {
114 | "version": 1,
115 | "author": "xcode"
116 | }
117 | }
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Assets.xcassets/AppIcon.appiconset/Icon1024.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Assets.xcassets/AppIcon.appiconset/Icon1024.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Assets.xcassets/AppIcon.appiconset/Icon120.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Assets.xcassets/AppIcon.appiconset/Icon120.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Assets.xcassets/AppIcon.appiconset/Icon152.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Assets.xcassets/AppIcon.appiconset/Icon152.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Assets.xcassets/AppIcon.appiconset/Icon167.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Assets.xcassets/AppIcon.appiconset/Icon167.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Assets.xcassets/AppIcon.appiconset/Icon180.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Assets.xcassets/AppIcon.appiconset/Icon180.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Assets.xcassets/AppIcon.appiconset/Icon20.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Assets.xcassets/AppIcon.appiconset/Icon20.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Assets.xcassets/AppIcon.appiconset/Icon29.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Assets.xcassets/AppIcon.appiconset/Icon29.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Assets.xcassets/AppIcon.appiconset/Icon40.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Assets.xcassets/AppIcon.appiconset/Icon40.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Assets.xcassets/AppIcon.appiconset/Icon58.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Assets.xcassets/AppIcon.appiconset/Icon58.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Assets.xcassets/AppIcon.appiconset/Icon60.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Assets.xcassets/AppIcon.appiconset/Icon60.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Assets.xcassets/AppIcon.appiconset/Icon76.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Assets.xcassets/AppIcon.appiconset/Icon76.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Assets.xcassets/AppIcon.appiconset/Icon80.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Assets.xcassets/AppIcon.appiconset/Icon80.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Assets.xcassets/AppIcon.appiconset/Icon87.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Assets.xcassets/AppIcon.appiconset/Icon87.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Entitlements.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | UIDeviceFamily
6 |
7 | 1
8 | 2
9 |
10 | UISupportedInterfaceOrientations
11 |
12 | UIInterfaceOrientationPortrait
13 | UIInterfaceOrientationLandscapeLeft
14 | UIInterfaceOrientationLandscapeRight
15 |
16 | UISupportedInterfaceOrientations~ipad
17 |
18 | UIInterfaceOrientationPortrait
19 | UIInterfaceOrientationPortraitUpsideDown
20 | UIInterfaceOrientationLandscapeLeft
21 | UIInterfaceOrientationLandscapeRight
22 |
23 | MinimumOSVersion
24 | 8.0
25 | CFBundleDisplayName
26 | XFDelivery
27 | CFBundleIdentifier
28 | com.companyname.XFDelivery
29 | CFBundleVersion
30 | 1.0
31 | UILaunchStoryboardName
32 | LaunchScreen
33 | CFBundleName
34 | XFDelivery
35 | XSAppIconAssets
36 | Assets.xcassets/AppIcon.appiconset
37 |
38 |
39 |
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Main.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 |
5 | using Foundation;
6 | using UIKit;
7 |
8 | namespace XFDelivery.iOS
9 | {
10 | public class Application
11 | {
12 | // This is the main entry point of the application.
13 | static void Main(string[] args)
14 | {
15 | // if you want to use a different Application Delegate class from "AppDelegate"
16 | // you can specify it here.
17 | UIApplication.Main(args, null, "AppDelegate");
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("XFDelivery.iOS")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("XFDelivery.iOS")]
13 | [assembly: AssemblyCopyright("Copyright © 2014")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("72bdc44f-c588-44f3-b6df-9aace7daafdd")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Resources/Default-568h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Resources/Default-568h@2x.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Resources/Default-Portrait.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Resources/Default-Portrait.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Resources/Default-Portrait@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Resources/Default-Portrait@2x.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Resources/Default.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Resources/Default.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Resources/Default@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Resources/Default@2x.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Resources/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Resources/arrow_left.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Resources/arrow_left.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Resources/arrow_left@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Resources/arrow_left@2x.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Resources/arrow_left@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Resources/arrow_left@3x.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Resources/brigadeiro.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Resources/brigadeiro.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Resources/brigadeiro@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Resources/brigadeiro@2x.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Resources/brigadeiro@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Resources/brigadeiro@3x.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Resources/burger.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Resources/burger.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Resources/burger@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Resources/burger@2x.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Resources/burger@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Resources/burger@3x.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Resources/calories.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Resources/calories.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Resources/calories@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Resources/calories@2x.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Resources/calories@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Resources/calories@3x.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Resources/cart.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Resources/cart.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Resources/cart@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Resources/cart@2x.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Resources/cart@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Resources/cart@3x.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Resources/item1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Resources/item1.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Resources/item1@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Resources/item1@2x.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Resources/item1@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Resources/item1@3x.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Resources/item2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Resources/item2.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Resources/item2@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Resources/item2@2x.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Resources/item2@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Resources/item2@3x.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Resources/item3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Resources/item3.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Resources/item3@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Resources/item3@2x.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Resources/item3@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Resources/item3@3x.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Resources/junk_food.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Resources/junk_food.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Resources/junk_food@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Resources/junk_food@2x.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Resources/junk_food@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Resources/junk_food@3x.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Resources/person1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Resources/person1.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Resources/person2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Resources/person2.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Resources/pizza.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Resources/pizza.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Resources/pizza@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Resources/pizza@2x.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Resources/pizza@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Resources/pizza@3x.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Resources/search.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Resources/search.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Resources/search@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Resources/search@2x.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Resources/search@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Resources/search@3x.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Resources/star.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Resources/star.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Resources/star@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Resources/star@2x.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/Resources/star@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery.iOS/Resources/star@3x.png
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery.iOS/XFDelivery.iOS.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Debug
5 | iPhoneSimulator
6 | 8.0.30703
7 | 2.0
8 | {7B09B5ED-2771-4F07-8721-DB7CD2071742}
9 | {FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
10 | {6143fdea-f3c2-4a09-aafa-6e230626515e}
11 | Exe
12 | XFDelivery.iOS
13 | Resources
14 | XFDelivery.iOS
15 | true
16 | NSUrlSessionHandler
17 | automatic
18 |
19 |
20 | true
21 | full
22 | false
23 | bin\iPhoneSimulator\Debug
24 | DEBUG
25 | prompt
26 | 4
27 | x86_64
28 | None
29 | true
30 |
31 |
32 | none
33 | true
34 | bin\iPhoneSimulator\Release
35 | prompt
36 | 4
37 | None
38 | x86_64
39 |
40 |
41 | true
42 | full
43 | false
44 | bin\iPhone\Debug
45 | DEBUG
46 | prompt
47 | 4
48 | ARM64
49 | iPhone Developer
50 | true
51 | Entitlements.plist
52 | None
53 | -all
54 |
55 |
56 | none
57 | true
58 | bin\iPhone\Release
59 | prompt
60 | 4
61 | ARM64
62 | iPhone Developer
63 | Entitlements.plist
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 | false
76 |
77 |
78 | false
79 |
80 |
81 | false
82 |
83 |
84 | false
85 |
86 |
87 | false
88 |
89 |
90 | false
91 |
92 |
93 | false
94 |
95 |
96 | false
97 |
98 |
99 | false
100 |
101 |
102 | false
103 |
104 |
105 | false
106 |
107 |
108 | false
109 |
110 |
111 | false
112 |
113 |
114 | false
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 | 1.0.2
128 |
129 |
130 |
131 |
132 | 1.4.2
133 |
134 |
135 |
136 |
137 |
138 | {4C5F4061-1220-4A87-AFEF-4C100C2B1413}
139 | XFDelivery
140 |
141 |
142 |
143 |
144 |
145 |
146 |
147 |
148 |
149 |
150 |
151 |
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 |
162 |
163 |
164 |
165 |
166 |
167 |
168 |
169 |
170 |
171 |
172 |
173 |
174 |
175 |
176 |
177 |
178 |
179 |
180 |
181 |
182 |
183 |
184 |
185 |
186 |
187 |
188 |
189 |
190 |
191 |
192 |
193 |
194 |
195 |
196 |
197 |
198 |
199 |
200 |
201 |
202 |
203 |
204 |
205 |
206 |
207 |
208 |
209 |
210 |
211 |
212 |
213 |
214 |
215 |
216 |
217 |
218 |
219 |
220 |
221 |
222 |
223 |
224 |
225 |
226 |
227 |
228 |
229 |
230 |
231 |
232 |
233 |
234 |
235 |
236 |
237 |
238 |
239 |
240 |
241 |
242 |
243 |
244 |
245 |
246 |
247 |
248 |
249 |
250 |
251 |
252 |
253 |
254 |
255 |
256 |
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery/App.xaml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
11 |
15 | #FF8920
16 | #F4F4F4
17 | #6F6F6F
18 | #E0E0E0
19 | #FFFFFF
20 | #F3F8FC
21 | #202020
22 |
23 |
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using Xamarin.Forms;
2 | using XFDelivery.Interfaces;
3 | using XFDelivery.Views;
4 |
5 | namespace XFDelivery
6 | {
7 | public partial class App : Application
8 | {
9 | public App()
10 | {
11 | InitializeComponent();
12 |
13 | Device.SetFlags(new[] { "Shapes_Experimental" });
14 |
15 | MainPage = new NavigationPage(new MainPage());
16 |
17 | if (Device.RuntimePlatform == Device.Android)
18 | DependencyService.Get().ChangeTextColor();
19 | }
20 |
21 | protected override void OnStart()
22 | {
23 | }
24 |
25 | protected override void OnSleep()
26 | {
27 | }
28 |
29 | protected override void OnResume()
30 | {
31 | }
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using Xamarin.Forms;
2 | using Xamarin.Forms.Xaml;
3 |
4 | [assembly: XamlCompilation(XamlCompilationOptions.Compile)]
5 | [assembly: ExportFont("Poppins-Regular.ttf", Alias = "FontPoppinsRegular")]
6 | [assembly: ExportFont("Poppins-Medium.ttf", Alias = "FontPoppinsMedium")]
7 | [assembly: ExportFont("Poppins-SemiBold.ttf", Alias = "FontPoppinsSemiBold")]
8 | [assembly: ExportFont("fontello.ttf", Alias = "FontFontello")]
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery/Fonts/FontIcons.cs:
--------------------------------------------------------------------------------
1 | namespace XFDelivery.Fonts
2 | {
3 | public static class FontIcons
4 | {
5 | public const string Plus = "\uE800";
6 | public const string Minus = "\uE801";
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery/Fonts/Poppins-Medium.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery/Fonts/Poppins-Medium.ttf
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery/Fonts/Poppins-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery/Fonts/Poppins-Regular.ttf
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery/Fonts/Poppins-SemiBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery/Fonts/Poppins-SemiBold.ttf
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery/Fonts/fontello.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Altevir/xamarinforms-delivery/f1393d2e683c7dd861b4514e9b73edf5adcf8ffb/XFDelivery/XFDelivery/Fonts/fontello.ttf
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery/Interfaces/IStatusBarStyle.cs:
--------------------------------------------------------------------------------
1 | namespace XFDelivery.Interfaces
2 | {
3 | public interface IStatusBarStyle
4 | {
5 | void ChangeTextColor();
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery/Models/Group.cs:
--------------------------------------------------------------------------------
1 | using Xamarin.Forms;
2 | using XFDelivery.ViewModel;
3 |
4 | namespace XFDelivery.Models
5 | {
6 | public class Group : BaseViewModel
7 | {
8 | public string description { get; set; }
9 | public string image { get; set; }
10 |
11 | private bool _selected;
12 | public bool selected
13 | {
14 | get { return _selected; }
15 | set { SetProperty(ref _selected, value); }
16 | }
17 |
18 | private Color _backgroundColor;
19 | public Color backgroundColor
20 | {
21 | get { return _backgroundColor; }
22 | set { SetProperty(ref _backgroundColor, value); }
23 | }
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery/Models/Item.cs:
--------------------------------------------------------------------------------
1 | namespace XFDelivery.Models
2 | {
3 | public class Item
4 | {
5 | public string description { get; set; }
6 | public string complement { get; set; }
7 | public int calories { get; set; }
8 | public decimal price { get; set; }
9 | public bool favorite { get; set; }
10 | public string image { get; set; }
11 | public double rating { get; set; }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery/Service/DataService.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.ObjectModel;
2 | using Xamarin.Forms;
3 | using XFDelivery.Models;
4 |
5 | namespace XFDelivery.Service
6 | {
7 | public class DataService
8 | {
9 | public static ObservableCollection GetGroups()
10 | {
11 | return new ObservableCollection()
12 | {
13 | new Group()
14 | {
15 | description = "All",
16 | image = "brigadeiro",
17 | selected = true,
18 | backgroundColor = Color.FromHex("#FF8920")
19 | },
20 | new Group()
21 | {
22 | description = "Pizza",
23 | image = "pizza",
24 | selected = false,
25 | backgroundColor = Color.FromHex("#FFFFFF")
26 | },
27 | new Group()
28 | {
29 | description = "Burgers",
30 | image = "burger",
31 | selected = false,
32 | backgroundColor = Color.FromHex("#FFFFFF")
33 | },
34 | new Group()
35 | {
36 | description = "Asian",
37 | image = "junk_food",
38 | selected = false,
39 | backgroundColor = Color.FromHex("#FFFFFF")
40 | }
41 | };
42 | }
43 |
44 | public static ObservableCollection- GetItems()
45 | {
46 | return new ObservableCollection
- ()
47 | {
48 | new Item()
49 | {
50 | description = "Margherita",
51 | complement = "Tomato sauce, fresh mozzarella, olive oil, fresh basi",
52 | image = "item1",
53 | calories = 76,
54 | price = 45,
55 | rating = 4.2,
56 | favorite = true
57 | },
58 | new Item()
59 | {
60 | description = "Rughetta",
61 | complement = "Arugula, Cherry Tomatoes, Artichokes, Shaved Parmigiano, Lemon/E.V.O.O. Dressing",
62 | calories = 70,
63 | image = "item2",
64 | price = 59,
65 | rating = 3.8,
66 | favorite = false
67 | },
68 | new Item()
69 | {
70 | description = "Banoffie Pie",
71 | complement = "Breaded chicken, ham and bacon, drizzled with homemade rach",
72 | image = "item3",
73 | calories = 85,
74 | rating = 4.9,
75 | price = 106,
76 | favorite = true
77 | },
78 | };
79 | }
80 | }
81 | }
82 |
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery/ViewModels/BaseViewModel.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 | using System.ComponentModel;
3 | using System.Runtime.CompilerServices;
4 | using System.Threading.Tasks;
5 | using Xamarin.Forms;
6 |
7 | namespace XFDelivery.ViewModel
8 | {
9 | public class BaseViewModel : INotifyPropertyChanged
10 | {
11 | public INavigation Navigation;
12 |
13 | public event PropertyChangedEventHandler PropertyChanged;
14 |
15 | protected virtual void OnPropertyChanged([CallerMemberName]string propertyName = null)
16 | {
17 | PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
18 | }
19 |
20 | public async Task DisplayAlert(string title, string message, string cancel)
21 | {
22 | await Application.Current.MainPage.DisplayAlert(title, message, cancel);
23 | }
24 |
25 | public async Task DisplayAlert(string title, string message, string accept, string cancel)
26 | {
27 | return await Application.Current.MainPage.DisplayAlert(title, message, accept, cancel);
28 | }
29 |
30 | protected bool SetProperty(ref T field, T value, [CallerMemberName]string propertyName = null)
31 | {
32 | if (EqualityComparer.Default.Equals(field, value))
33 | {
34 | return false;
35 | }
36 |
37 | field = value;
38 | OnPropertyChanged(propertyName);
39 |
40 | return true;
41 | }
42 |
43 | private string _title;
44 | public string Title
45 | {
46 | get { return _title; }
47 | set
48 | {
49 | SetProperty(ref _title, value);
50 | }
51 | }
52 |
53 | private bool _isBusy;
54 | public bool IsBusy
55 | {
56 | get { return _isBusy; }
57 | set
58 | {
59 | SetProperty(ref _isBusy, value);
60 | }
61 | }
62 | }
63 | }
64 |
65 |
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery/ViewModels/DetailPageViewModel.cs:
--------------------------------------------------------------------------------
1 | using System.Threading.Tasks;
2 | using Xamarin.Forms;
3 | using XFDelivery.Models;
4 | using XFDelivery.ViewModel;
5 |
6 | namespace XFDelivery.ViewModels
7 | {
8 | public class DetailPageViewModel : BaseViewModel
9 | {
10 | public DetailPageViewModel(INavigation navigation, Item item)
11 | {
12 | Navigation = navigation;
13 | PopDetailPageCommand = new Command(async () => await ExecutePopDetailPageCommand());
14 | AddQuantCommand = new Command(ExecuteAddQuantCommand);
15 | DeleteQuantCommand = new Command(ExecuteDeleteQuantCommand);
16 | Item = item;
17 | Quant = 1;
18 | }
19 |
20 | public Command PopDetailPageCommand { get; }
21 | public Command AddQuantCommand { get; }
22 | public Command DeleteQuantCommand { get; }
23 | public Item Item { get; set; }
24 |
25 | private int _quant;
26 | public int Quant
27 | {
28 | get { return _quant; }
29 | set { SetProperty(ref _quant, value); }
30 | }
31 |
32 | private async Task ExecutePopDetailPageCommand()
33 | {
34 | await Navigation.PopAsync();
35 | }
36 |
37 | private void ExecuteAddQuantCommand()
38 | {
39 | Quant += 1;
40 | }
41 |
42 | private void ExecuteDeleteQuantCommand()
43 | {
44 | if (Quant > 1)
45 | Quant -= 1;
46 | }
47 | }
48 | }
49 |
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery/ViewModels/MainPageViewModel.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.ObjectModel;
2 | using System.Linq;
3 | using System.Threading.Tasks;
4 | using Xamarin.Forms;
5 | using Xamarin.Forms.Internals;
6 | using XFDelivery.Models;
7 | using XFDelivery.Service;
8 | using XFDelivery.ViewModel;
9 | using XFDelivery.Views;
10 |
11 | namespace XFDelivery.ViewModels
12 | {
13 | public class MainPageViewModel : BaseViewModel
14 | {
15 | public MainPageViewModel(INavigation navigation)
16 | {
17 | Navigation = navigation;
18 | NavigateToDetailPageCommand = new Command
- (async (model) => await ExecuteNavigateToDetailPageCommand(model));
19 | SelectGroupCommand = new Command((model) => ExecuteSelectGroupCommand(model));
20 | GetGroups();
21 | GetItems();
22 | }
23 |
24 | public Command SelectGroupCommand { get; }
25 | public Command NavigateToDetailPageCommand { get; }
26 | public ObservableCollection Groups { get; set; }
27 | public ObservableCollection
- Items { get; set; }
28 |
29 | void GetGroups()
30 | {
31 | Groups = new ObservableCollection(DataService.GetGroups());
32 | }
33 |
34 | void GetItems()
35 | {
36 | Items = new ObservableCollection
- (DataService.GetItems());
37 | }
38 |
39 | private async Task ExecuteNavigateToDetailPageCommand(Item model)
40 | {
41 | await Navigation.PushAsync(new DetailPage(model));
42 | }
43 |
44 | private void ExecuteSelectGroupCommand(Group model)
45 | {
46 | var index = Groups
47 | .ToList()
48 | .FindIndex(p => p.description == model.description);
49 |
50 | if (index > -1)
51 | {
52 | UnselectGroupItems();
53 |
54 | Groups[index].selected = true;
55 | Groups[index].backgroundColor = Color.FromHex("#FF8920");
56 | }
57 | }
58 |
59 | void UnselectGroupItems()
60 | {
61 | Groups.ForEach((item) =>
62 | {
63 | item.selected = false;
64 | item.backgroundColor = Color.FromHex("#FFFFFF");
65 | });
66 | }
67 | }
68 | }
69 |
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery/Views/DetailPage.xaml:
--------------------------------------------------------------------------------
1 |
2 |
13 |
14 |
15 |
16 |
17 |
29 |
38 |
39 |
44 |
52 |
53 |
54 |
55 |
56 |
66 |
79 |
80 |
87 |
95 |
103 |
104 |
105 |
115 |
123 |
124 |
125 |
132 |
139 |
140 |
147 |
154 |
155 |
156 |
157 |
165 |
171 |
179 |
184 |
192 |
193 |
207 |
214 |
228 |
229 |
230 |
238 |
239 |
246 |
250 |
254 |
255 |
267 |
272 |
273 |
280 |
287 |
294 |
295 |
296 |
297 |
298 |
299 |
300 |
301 |
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery/Views/DetailPage.xaml.cs:
--------------------------------------------------------------------------------
1 | using Xamarin.Forms;
2 | using Xamarin.Forms.Xaml;
3 | using XFDelivery.Models;
4 | using XFDelivery.ViewModels;
5 |
6 | namespace XFDelivery.Views
7 | {
8 | [XamlCompilation(XamlCompilationOptions.Compile)]
9 | public partial class DetailPage : ContentPage
10 | {
11 | public DetailPage(Item item)
12 | {
13 | InitializeComponent();
14 | BindingContext = new DetailPageViewModel(Navigation, item);
15 | }
16 | }
17 | }
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery/Views/MainPage.xaml:
--------------------------------------------------------------------------------
1 |
2 |
12 |
13 |
14 |
15 |
16 |
21 |
22 |
27 |
28 |
29 |
33 |
34 |
35 |
36 |
42 |
50 |
65 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
86 |
87 |
99 |
106 |
107 |
114 |
115 |
116 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
134 |
135 |
136 |
137 |
138 |
139 |
146 |
150 |
157 |
164 |
174 |
182 |
189 |
195 |
203 |
204 |
205 |
209 |
210 |
211 |
212 |
213 |
214 |
221 |
228 |
229 |
230 |
231 |
232 |
233 |
240 |
244 |
251 |
258 |
268 |
276 |
282 |
288 |
296 |
297 |
298 |
299 |
300 |
301 |
302 |
303 |
304 |
305 |
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery/Views/MainPage.xaml.cs:
--------------------------------------------------------------------------------
1 | using Xamarin.Forms;
2 | using Xamarin.Forms.Xaml;
3 | using XFDelivery.ViewModels;
4 |
5 | namespace XFDelivery.Views
6 | {
7 | [XamlCompilation(XamlCompilationOptions.Compile)]
8 | public partial class MainPage : ContentPage
9 | {
10 | public MainPage()
11 | {
12 | InitializeComponent();
13 | BindingContext = new MainPageViewModel(Navigation);
14 | }
15 | }
16 | }
--------------------------------------------------------------------------------
/XFDelivery/XFDelivery/XFDelivery.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netstandard2.0
5 | true
6 |
7 |
8 |
9 | portable
10 | true
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 | MainPage.xaml
37 |
38 |
39 |
40 |
41 |
42 | MSBuild:UpdateDesignTimeXaml
43 |
44 |
45 | MSBuild:UpdateDesignTimeXaml
46 |
47 |
48 |
--------------------------------------------------------------------------------