Skip to content

Instantly share code, notes, and snippets.

View TheTekton's full-sized avatar

Terrance Wood TheTekton

View GitHub Profile
using Xamarin.Forms;
namespace MyProject
{
/// <summary>
/// ITextMeter based on example done in Shared project
/// https://gist.github.com/rudyryk/7b9633e847e727d12de7
/// </summary>
public interface ITextMeter
{
@TheTekton
TheTekton / @Example.txt
Last active March 10, 2018 08:09
Refit 2.3.0 - Adding 'name={value}' option for multipart request body headers.
[Multipart]
[Post("/upload_image/")]
IObservable<HttpResponseMessage> CreateImage ([AttachmentName("image.jpg"),Name("image")] byte[] image);
// Assumption is that should work w/Stream/FileInfo/string, but would require testing.
@TheTekton
TheTekton / LevelAPage.cs
Created August 12, 2015 18:17
GRNavIssue '=' Label Using TwinTechs Tap Gesture
using System;
using System.Diagnostics;
using Acr.DeviceInfo;
using GRNavIssue.Controls.Navigation;
using GRNavIssue.Controls.Toolbar;
using TwinTechs.Gestures;
@TheTekton
TheTekton / MyTabbedPage.cs
Last active August 29, 2015 14:15
Xamarin.Forms 1.3 - TabbedPage with ContentPage ListView.SelectItem preservation when OnCurrentPageChanged
using System;
using System.Collections.Generic;
using Xamarin.Forms;
namespace MyProject
{
public class MyTabbedPage : TabbedPage
{
private Type _lastPage { get; set; }