Skip to content

Instantly share code, notes, and snippets.

View mecvillarina's full-sized avatar

Mark Erwin mecvillarina

View GitHub Profile
@mecvillarina
mecvillarina / ItemStack.cs
Created July 18, 2016 05:10 — forked from NVentimiglia/ItemStack.cs
Need a Items control or a repeater for Xamarin ? Here you go. Bind to observable collections, define your data template and enjoy.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.Linq;
using System.Windows.Input;
using Xamarin.Forms;
public class BotRequest
{
public string @object { get; set; }
public List<BotEntry> entry { get; set; }
}
public class BotEntry
{
public string id { get; set; }
public long time { get; set; }
@mecvillarina
mecvillarina / NoRippleListViewRenderer.cs
Created January 17, 2018 03:38 — forked from awatertrevi/NoRippleListViewRenderer.cs
Removes the material ripple effect on the Xamarin.Forms Android ListView.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
@mecvillarina
mecvillarina / UIDirectionExtension
Created January 17, 2018 17:00 — forked from ads90/UIDirectionExtension
RTL Support for Xamarin Forms
/*
how to use it
you have to design your xaml to fit your need
EX:
<ColumnDefinition Width="{UIExtensions:UIDirection Type=GridLength,LTR=auto ,RTL=*}" />
HorizontalTextAlignment="{UIExtensions:UIDirection Type=TextAlignment,LTR=Start,RTL=End}"
HorizontalOptions="{UIExtensions:UIDirection Type=LayoutOption, LTR=Start, RTL=End}"
*/
using System;
@mecvillarina
mecvillarina / xamarinandroidbindings.md
Created August 15, 2022 08:32 — forked from JonDouglas/xamarinandroidbindings.md
Xamarin Android Bindings Troubleshooting

Approaching a Xamarin.Android Bindings Case

1. Investigation

One of the best ways to investigate a problematic Xamarin.Android Binding is to first ensure you have the proper tooling available: