Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pushes #6

Open
wants to merge 37 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
df3c141
initial login view
vithushan19 Jun 18, 2015
8bdc7a5
added basic views
vithushan19 Jun 19, 2015
ccd0551
pass clue object into view
vithushan19 Jun 19, 2015
6eac517
Merge pull request #1 from vithushan19/alpha
vithushan19 Jun 19, 2015
d5b1291
camera picker
vithushan19 Jun 19, 2015
190acc4
Merge pull request #2 from vithushan19/camera
vithushan19 Jun 19, 2015
a6f367c
login auth
vithushan19 Jun 19, 2015
b15277c
Merge pull request #3 from vithushan19/login
vithushan19 Jun 19, 2015
11121b2
formatting
vithushan19 Jun 19, 2015
7ca796d
Merge pull request #4 from vithushan19/teams
vithushan19 Jun 19, 2015
6dfb417
join team
vithushan19 Jun 19, 2015
a8dbd2d
Merge pull request #5 from vithushan19/teams
vithushan19 Jun 19, 2015
2f05766
map page my location and clue location
Jun 19, 2015
325881e
adding map files
Jun 19, 2015
255a7b0
Merge branch 'master' of https://github.com/vithushan19/scavengerhunt…
Jun 19, 2015
8da460d
map and clue hooked up
Jun 19, 2015
4109f97
Merge pull request #6 from vithushan19/map
vithushan19 Jun 19, 2015
1b2ae18
clues
vithushan19 Jun 19, 2015
da7147d
merge
vithushan19 Jun 19, 2015
bdef784
Merge pull request #7 from vithushan19/clues
vithushan19 Jun 19, 2015
52f49cb
skip counter
vithushan19 Jun 19, 2015
9cfc36b
Merge pull request #8 from vithushan19/clues
vithushan19 Jun 19, 2015
42bec24
Merge branch 'master' of https://github.com/randysingh/scavengerhunt …
vithushan19 Jun 19, 2015
e98735a
fix views up
vithushan19 Jun 19, 2015
3fcd57d
Merge pull request #9 from vithushan19/views
vithushan19 Jun 19, 2015
dd3def0
remove hardcode string
vithushan19 Jun 19, 2015
b66a289
uploading pictures setup
Jun 19, 2015
2e8c9de
adding uploading services
Jun 19, 2015
355e41e
merging and pic upload
Jun 19, 2015
f121243
Merge pull request #10 from vithushan19/pictureupload
vithushan19 Jun 19, 2015
ae873de
Merge pull request #11 from vithushan19/develop
vithushan19 Jun 19, 2015
5cfe13f
leader
vithushan19 Jun 19, 2015
a64abc6
Merge branch 'develop' of https://github.com/vithushan19/scavengerhun…
vithushan19 Jun 19, 2015
e3a81c9
return to code
vithushan19 Jun 19, 2015
86b5e68
Merge pull request #12 from vithushan19/leader
vithushan19 Jun 19, 2015
450d963
push notifications
Jun 19, 2015
eacf5da
merging develop
Jun 19, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Bootcamp2015-AmazingRace/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ protected override void Configure()

container
.PerRequest<MainPageViewModel>()
.PerRequest<JoinTeamPageViewModel>()
.PerRequest<LeaderboardPageViewModel>()
.PerRequest<CluePageViewModel>()
.PerRequest<MapPageViewModel>()
;

container.RegisterSingleton(typeof(IEventAggregator), "ea", typeof(EventAggregator));
Expand Down
59 changes: 59 additions & 0 deletions Bootcamp2015-AmazingRace/Bootcamp2015.AmazingRace.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -83,20 +83,51 @@
<DependentUpon>App.xaml</DependentUpon>
</Compile>
<Compile Include="ApplicationConstants.cs" />
<Compile Include="Common\DelegateCommand.cs" />
<Compile Include="Common\NavigationHelper.cs" />
<Compile Include="Common\ObservableDictionary.cs" />
<Compile Include="Common\RelayCommand.cs" />
<Compile Include="Common\SuspensionManager.cs" />
<Compile Include="Converters\BooleanToVisibilityConverter.cs" />
<Compile Include="Helpers\BitmapImageHelper.cs" />
<Compile Include="Helpers\ContinuationManager.cs" />
<Compile Include="Helpers\MobileServiceHelper.cs" />
<Compile Include="Models\Profile.cs" />
<Compile Include="Models\RaceStatus.cs" />
<Compile Include="Models\Race.cs" />
<Compile Include="Models\Team.cs" />
<Compile Include="Models\Clue.cs" />
<Compile Include="Services\UploadHelper.cs" />
<Compile Include="ViewModels\CluePageViewModel.cs" />
<Compile Include="ViewModels\IParameterReceivable.cs" />
<Compile Include="ViewModels\LeaderboardPageViewModel.cs" />
<Compile Include="ViewModels\JoinTeamPageViewModel.cs" />
<Compile Include="ViewModels\MainPageViewModel.cs" />
<Compile Include="ViewModels\MapPageViewModel.cs" />
<Compile Include="Views\CluePage.xaml.cs">
<DependentUpon>CluePage.xaml</DependentUpon>
</Compile>
<Compile Include="Views\LeaderboardPage.xaml.cs">
<DependentUpon>LeaderboardPage.xaml</DependentUpon>
</Compile>
<Compile Include="Views\JoinTeamPage.xaml.cs">
<DependentUpon>JoinTeamPage.xaml</DependentUpon>
</Compile>
<Compile Include="Views\MainPage.xaml.cs">
<DependentUpon>MainPage.xaml</DependentUpon>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Views\MapPage.xaml.cs">
<DependentUpon>MapPage.xaml</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<AppxManifest Include="Package.appxmanifest">
<SubType>Designer</SubType>
</AppxManifest>
</ItemGroup>
<ItemGroup>
<Content Include="images\Infusion-logo.jpg" />
<Content Include="Assets\Logo.scale-240.png" />
<Content Include="Assets\SmallLogo.scale-240.png" />
<Content Include="Assets\SplashScreen.scale-240.png" />
Expand All @@ -115,10 +146,26 @@
<Generator>MSBuild:Compile</Generator>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Page>
<Page Include="Views\CluePage.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\LeaderboardPage.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Views\JoinTeamPage.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\MainPage.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Views\MapPage.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
</ItemGroup>
<ItemGroup>
<Reference Include="Caliburn.Micro, Version=2.0.2.0, Culture=neutral, PublicKeyToken=8e5891231f2ed21f, processorArchitecture=MSIL">
Expand All @@ -133,6 +180,12 @@
<HintPath>..\packages\Caliburn.Micro.2.0.2\lib\wpa81\Caliburn.Micro.Platform.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Microsoft.Data.Edm">
<HintPath>..\packages\Microsoft.Data.Edm.5.6.2\lib\portable-net40+sl5+wp8+win8+wpa\Microsoft.Data.Edm.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Data.OData">
<HintPath>..\packages\Microsoft.Data.OData.5.6.2\lib\portable-net40+sl5+wp8+win8+wpa\Microsoft.Data.OData.dll</HintPath>
</Reference>
<Reference Include="Microsoft.WindowsAzure.Mobile, Version=1.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\packages\WindowsAzure.MobileServices.1.3.2\lib\wpa81\Microsoft.WindowsAzure.Mobile.dll</HintPath>
<Private>True</Private>
Expand All @@ -141,6 +194,9 @@
<HintPath>..\packages\WindowsAzure.MobileServices.1.3.2\lib\wpa81\Microsoft.WindowsAzure.Mobile.Ext.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Microsoft.WindowsAzure.Storage">
<HintPath>..\packages\WindowsAzure.Storage.4.3.0\lib\wpa\Microsoft.WindowsAzure.Storage.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.6.0.8\lib\portable-net40+sl5+wp80+win8+wpa81\Newtonsoft.Json.dll</HintPath>
<Private>True</Private>
Expand All @@ -153,6 +209,9 @@
<HintPath>..\packages\Microsoft.Net.Http.2.2.28\lib\wpa81\System.Net.Http.Primitives.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System.Spatial">
<HintPath>..\packages\System.Spatial.5.6.2\lib\portable-net40+sl5+wp8+win8+wpa\System.Spatial.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
Expand Down
31 changes: 31 additions & 0 deletions Bootcamp2015-AmazingRace/Common/DelegateCommand.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;

namespace Bootcamp2015.AmazingRace.Common
{
public class DelegateCommand : ICommand
{
Action<object> _exectute;

public bool CanExecute(object parameter)
{
return true;
}

public event EventHandler CanExecuteChanged;

public DelegateCommand(Action<object> exectute)
{
_exectute = exectute;
}

public void Execute(object parameter)
{
_exectute(parameter);
}
}
}
Loading