-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
N-10 KittensDb to 158,WP8,3.1.1.-beta2
- Loading branch information
Showing
284 changed files
with
1,097 additions
and
1,551 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,9 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="MvvmCross" version="3.0.5" targetFramework="portable-win+net45+MonoAndroid16+MonoTouch40+sl40+wp71" /> | ||
<package id="MvvmCross.HotTuna.CrossCore" version="3.0.5" targetFramework="portable-win+net45+MonoAndroid16+MonoTouch40+sl40+wp71" /> | ||
<package id="MvvmCross.HotTuna.Plugin.Sqlite" version="3.0.5" targetFramework="portable-win+net45+MonoAndroid16+MonoTouch40+sl40+wp71" /> | ||
<package id="MvvmCross.HotTuna.StarterPack" version="3.0.5" targetFramework="portable-win+net45+MonoAndroid16+MonoTouch40+sl40+wp71" /> | ||
<package id="MvvmCross" version="3.1.1-beta2" targetFramework="portable-win+net45+sl50+wp80+MonoAndroid10+MonoTouch10" /> | ||
<package id="MvvmCross.HotTuna.CrossCore" version="3.1.1-beta2" targetFramework="portable-win+net45+sl50+wp80+MonoAndroid10+MonoTouch10" /> | ||
<package id="MvvmCross.HotTuna.MvvmCrossLibraries" version="3.1.1-beta2" targetFramework="portable-win+net45+sl50+wp80+MonoAndroid10+MonoTouch10" /> | ||
<package id="MvvmCross.HotTuna.Plugin.Sqlite" version="3.1.1-beta2" targetFramework="portable-win+net45+sl50+wp80+MonoAndroid10+MonoTouch10" /> | ||
<package id="MvvmCross.HotTuna.StarterPack" version="3.1.1-beta2" targetFramework="portable-win+net45+sl50+wp80+MonoAndroid10+MonoTouch10" /> | ||
<package id="MvvmCross.PortableSupport" version="3.1.1-beta2" targetFramework="portable-win+net45+sl50+wp80+MonoAndroid10+MonoTouch10" /> | ||
</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 KittensDb.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
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,53 @@ | ||
using System.Collections.Specialized; | ||
using System.Windows.Input; | ||
using Android.Views; | ||
using Android.Widget; | ||
|
||
namespace KittensDb.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(View view) | ||
{ | ||
view.Click += (s, e) => view.ContentDescription = view.ContentDescription + ""; | ||
} | ||
|
||
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); }; | ||
} | ||
} | ||
} |
5 changes: 5 additions & 0 deletions
5
N-10-KittensDb/KittensDb.Droid/Properties/AndroidManifest.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,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="8" /> | ||
<application></application> | ||
</manifest> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 30 additions & 5 deletions
35
N-10-KittensDb/KittensDb.Droid/Resources/Resource.Designer.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
N-10-KittensDb/KittensDb.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,9 +1,11 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="MvvmCross" version="3.0.5" targetFramework="MonoAndroid22" /> | ||
<package id="MvvmCross.HotTuna.CrossCore" version="3.0.5" targetFramework="MonoAndroid22" /> | ||
<package id="MvvmCross.HotTuna.Plugin.DownloadCache" version="3.0.5" targetFramework="MonoAndroid22" /> | ||
<package id="MvvmCross.HotTuna.Plugin.File" version="3.0.5" targetFramework="MonoAndroid22" /> | ||
<package id="MvvmCross.HotTuna.Plugin.Sqlite" version="3.0.5" targetFramework="MonoAndroid22" /> | ||
<package id="MvvmCross.HotTuna.StarterPack" version="3.0.5" targetFramework="MonoAndroid22" /> | ||
<package id="MvvmCross" version="3.1.1-beta2" targetFramework="MonoAndroid22" /> | ||
<package id="MvvmCross.HotTuna.CrossCore" version="3.1.1-beta2" targetFramework="MonoAndroid22" /> | ||
<package id="MvvmCross.HotTuna.MvvmCrossLibraries" version="3.1.1-beta2" targetFramework="MonoAndroid22" /> | ||
<package id="MvvmCross.HotTuna.Plugin.DownloadCache" version="3.1.1-beta2" targetFramework="MonoAndroid22" /> | ||
<package id="MvvmCross.HotTuna.Plugin.File" version="3.1.1-beta2" targetFramework="MonoAndroid22" /> | ||
<package id="MvvmCross.HotTuna.Plugin.Sqlite" version="3.1.1-beta2" targetFramework="MonoAndroid22" /> | ||
<package id="MvvmCross.HotTuna.StarterPack" version="3.1.1-beta2" targetFramework="MonoAndroid22" /> | ||
<package id="MvvmCross.PortableSupport" version="3.1.1-beta2" targetFramework="MonoAndroid22" /> | ||
</packages> |
Oops, something went wrong.