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
using System; | |
using Cirrious.MvvmCross.Binding.Touch.Views; | |
using Cirrious.MvvmCross.Touch.Views.Presenters; | |
using FutureState.BreathingRoom.Touch.Ui.Controllers; | |
using FutureState.BreathingRoom.Touch.Ui.Fragments; | |
using MonoTouch.UIKit; | |
using SlidingPanels.Lib.PanelContainers; | |
namespace FutureState.BreathingRoom.Touch.Ui.Presenters | |
{ |
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
using System; | |
using Android.Content; | |
using Android.Util; | |
using Android.Webkit; | |
using MarkdownDeep; | |
namespace FutureState.Droid.Ui.Controls | |
{ | |
public class BindalbeMarkdownView : WebView | |
{ |
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
using System; | |
using Cirrious.CrossCore; | |
using Cirrious.MvvmCross.Droid.Fragging; | |
using Cirrious.MvvmCross.Droid.Fragging.Fragments; | |
using Cirrious.MvvmCross.ViewModels; | |
namespace FutureState.BreathingRoom.Droid.Ui.Views | |
{ | |
internal class FragmentActivityBase : MvxFragmentActivity | |
{ |
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
using System; | |
using Android.App; | |
using Android.Support.V4.App; | |
using Android.Support.V4.Widget; | |
using Android.Views; | |
namespace FutureState.BreathingRoom.Droid.Ui | |
{ | |
public class ActionBarDrawerEventArgs : EventArgs | |
{ |
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
public override void OnDrawerSlide(View drawerView, float slideOffset) | |
{ | |
if (null != DrawerSlide) | |
DrawerSlide(this, new ActionBarDrawerEventArgs | |
{ | |
DrawerView = drawerView, | |
SlideOffset = slideOffset | |
}); | |
// only slide the left nav item |
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
using System; | |
using Cirrious.CrossCore; | |
using Cirrious.MvvmCross.Droid.Fragging; | |
using Cirrious.MvvmCross.Droid.Fragging.Fragments; | |
using Cirrious.MvvmCross.ViewModels; | |
namespace $NAMESPACE$ | |
{ | |
public class FragmentActivityBase : MvxFragmentActivity | |
{ |
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
'use strict'; | |
/* | |
*usage: <markdown ng:model="box.content"></markdown> | |
*/ | |
myApp.directive('markdown', function ($compile) { | |
var nextId = 0; | |
//Make converter only once to save a bit of load each time - thanks to ajoslin | |
var converter = new Markdown.Converter(); |
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
<?xml version="1.0" encoding="utf-8"?> | |
<assembly name="Cirrious.MvvmCross"> | |
<member name="M:Cirrious.MvvmCross.ViewModels.MvxNotifyPropertyChanged.RaisePropertyChanged``1(System.Linq.Expressions.Expression{System.Func{``0}})"> | |
<attribute ctor="M:JetBrains.Annotations.NotifyPropertyChangedInvocatorAttribute.#ctor" /> | |
</member> | |
</assembly> | |
<!-- https://github.com/MvvmCross/MvvmCross/blob/v3.1/Cirrious/Cirrious.MvvmCross/ViewModels/MvxNotifyPropertyChanged.cs#L40 --> |
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 IS THE DRAWER TOGGLER CLASS THAT HANDLES THE TOGGLING. | |
public class ActionBarDrawerEventArgs : EventArgs | |
{ | |
public View DrawerView { get; set; } | |
public float SlideOffset { get; set; } | |
public int NewState { get; set; } | |
} | |
public delegate void ActionBarDrawerChangedEventHandler(object s, ActionBarDrawerEventArgs e); |