This repository has been archived by the owner on Dec 18, 2017. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
220 changed files
with
824 additions
and
1,481 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="MvvmCross" version="3.0.6" targetFramework="portable-win+net45+MonoAndroid16+MonoTouch40+sl40+wp71" /> | ||
<package id="MvvmCross.HotTuna.CrossCore" version="3.0.6" targetFramework="portable-win+net45+MonoAndroid16+MonoTouch40+sl40+wp71" /> | ||
<package id="MvvmCross.HotTuna.StarterPack" version="3.0.6" targetFramework="portable-win+net45+MonoAndroid16+MonoTouch40+sl40+wp71" /> | ||
<package id="MvvmCross.PortableSupport" version="3.0.6" targetFramework="portable-win+net45+MonoAndroid16+MonoTouch40+sl40+wp71" /> | ||
<package id="MvvmCross" version="3.0.13-beta4" targetFramework="portable-win+net45+MonoAndroid16+MonoTouch40+sl40+wp71" /> | ||
<package id="MvvmCross.HotTuna.CrossCore" version="3.0.13-beta4" targetFramework="portable-win+net45+MonoAndroid16+MonoTouch40+sl40+wp71" /> | ||
<package id="MvvmCross.HotTuna.MvvmCrossLibraries" version="3.0.13-beta4" targetFramework="portable-win+net45+MonoAndroid16+MonoTouch40+sl40+wp71" /> | ||
<package id="MvvmCross.HotTuna.StarterPack" version="3.0.13-beta4" targetFramework="portable-win+net45+MonoAndroid16+MonoTouch40+sl40+wp71" /> | ||
<package id="MvvmCross.PortableSupport" version="3.0.13-beta4" targetFramework="portable-win+net45+MonoAndroid16+MonoTouch40+sl40+wp71" /> | ||
</packages> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
using System; | ||
using System.Diagnostics; | ||
using Cirrious.CrossCore.Platform; | ||
|
||
namespace GoodVibrations.Droid | ||
{ | ||
public class DebugTrace : IMvxTrace | ||
{ | ||
public void Trace(MvxTraceLevel level, string tag, Func<string> message) | ||
{ | ||
Debug.WriteLine(tag + ":" + level + ":" + message()); | ||
} | ||
|
||
public void Trace(MvxTraceLevel level, string tag, string message) | ||
{ | ||
Debug.WriteLine(tag + ":" + level + ":" + message); | ||
} | ||
|
||
public void Trace(MvxTraceLevel level, string tag, string message, params object[] args) | ||
{ | ||
try | ||
{ | ||
Debug.WriteLine(string.Format(tag + ":" + level + ":" + message, args)); | ||
} | ||
catch (FormatException) | ||
{ | ||
Trace(MvxTraceLevel.Error, tag, "Exception during trace of {0} {1} {2}", level, message); | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
GoodVibrations/GoodVibrations.Droid/LinkerPleaseInclude.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
using System.Collections.Specialized; | ||
using System.Windows.Input; | ||
using Android.Widget; | ||
|
||
namespace GoodVibrations.Droid | ||
{ | ||
// This class is never actually executed, but when Xamarin linking is enabled it does how to ensure types and properties | ||
// are preserved in the deployed app | ||
public class LinkerPleaseInclude | ||
{ | ||
public void Include(Button button) | ||
{ | ||
button.Click += (s,e) => button.Text = button.Text + ""; | ||
} | ||
|
||
public void Include(CheckBox checkBox) | ||
{ | ||
checkBox.CheckedChange += (sender, args) => checkBox.Checked = !checkBox.Checked; | ||
} | ||
|
||
public void Include(TextView text) | ||
{ | ||
text.TextChanged += (sender, args) => text.Text = "" + text.Text; | ||
text.Hint = "" + text.Hint; | ||
} | ||
|
||
public void Include(CompoundButton cb) | ||
{ | ||
cb.CheckedChange += (sender, args) => cb.Checked = !cb.Checked; | ||
} | ||
|
||
public void Include(SeekBar sb) | ||
{ | ||
sb.ProgressChanged += (sender, args) => sb.Progress = sb.Progress + 1; | ||
} | ||
|
||
public void Include(INotifyCollectionChanged changed) | ||
{ | ||
changed.CollectionChanged += (s,e) => { var test = string.Format("{0}{1}{2}{3}{4}", e.Action,e.NewItems, e.NewStartingIndex, e.OldItems, e.OldStartingIndex); } ; | ||
} | ||
|
||
public void Include(ICommand command) | ||
{ | ||
command.CanExecuteChanged += (s, e) => { if (command.CanExecute(null)) command.Execute(null); }; | ||
} | ||
} | ||
} |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions
7
GoodVibrations/GoodVibrations.Droid/Resources/Values/SplashStyle.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<style name="Theme.Splash" parent="android:Theme"> | ||
<item name="android:windowBackground">@drawable/splash</item> | ||
<item name="android:windowNoTitle">true</item> | ||
</style> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="MvvmCross" version="3.0.6" targetFramework="MonoAndroid22" /> | ||
<package id="MvvmCross.HotTuna.CrossCore" version="3.0.6" targetFramework="MonoAndroid22" /> | ||
<package id="MvvmCross.HotTuna.StarterPack" version="3.0.6" targetFramework="MonoAndroid22" /> | ||
<package id="MvvmCross.PortableSupport" version="3.0.6" targetFramework="MonoAndroid22" /> | ||
<package id="MvvmCross" version="3.0.13-beta4" targetFramework="MonoAndroid22" /> | ||
<package id="MvvmCross.HotTuna.CrossCore" version="3.0.13-beta4" targetFramework="MonoAndroid22" /> | ||
<package id="MvvmCross.HotTuna.MvvmCrossLibraries" version="3.0.13-beta4" targetFramework="MonoAndroid22" /> | ||
<package id="MvvmCross.HotTuna.StarterPack" version="3.0.13-beta4" targetFramework="MonoAndroid22" /> | ||
<package id="MvvmCross.PortableSupport" version="3.0.13-beta4" targetFramework="MonoAndroid22" /> | ||
</packages> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
using System; | ||
using System.Diagnostics; | ||
using Cirrious.CrossCore.Platform; | ||
|
||
namespace GoodVibrations.Phone | ||
{ | ||
public class DebugTrace : IMvxTrace | ||
{ | ||
public void Trace(MvxTraceLevel level, string tag, Func<string> message) | ||
{ | ||
Debug.WriteLine(tag + ":" + level + ":" + message()); | ||
} | ||
|
||
public void Trace(MvxTraceLevel level, string tag, string message) | ||
{ | ||
Debug.WriteLine(tag + ":" + level + ":" + message); | ||
} | ||
|
||
public void Trace(MvxTraceLevel level, string tag, string message, params object[] args) | ||
{ | ||
try | ||
{ | ||
Debug.WriteLine(string.Format(tag + ":" + level + ":" + message, args)); | ||
} | ||
catch (FormatException) | ||
{ | ||
Trace(MvxTraceLevel.Error, tag, "Exception during trace of {0} {1} {2}", level, message); | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="MvvmCross" version="3.0.6" targetFramework="wp71" /> | ||
<package id="MvvmCross.HotTuna.CrossCore" version="3.0.6" targetFramework="wp71" /> | ||
<package id="MvvmCross.HotTuna.StarterPack" version="3.0.6" targetFramework="wp71" /> | ||
<package id="MvvmCross.PortableSupport" version="3.0.6" targetFramework="wp71" /> | ||
<package id="MvvmCross" version="3.0.13-beta4" targetFramework="wp71" /> | ||
<package id="MvvmCross.HotTuna.CrossCore" version="3.0.13-beta4" targetFramework="wp71" /> | ||
<package id="MvvmCross.HotTuna.MvvmCrossLibraries" version="3.0.13-beta4" targetFramework="wp71" /> | ||
<package id="MvvmCross.HotTuna.StarterPack" version="3.0.13-beta4" targetFramework="wp71" /> | ||
<package id="MvvmCross.PortableSupport" version="3.0.13-beta4" targetFramework="wp71" /> | ||
</packages> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.