Skip to content

Instantly share code, notes, and snippets.

View albilaga's full-sized avatar
🏠
Working from home

Albilaga Linggra Pradana albilaga

🏠
Working from home
View GitHub Profile
foreach (var family in UIFont.FamilyNames)
{
System.Diagnostics.Debug.WriteLine($"{family}");
foreach (var names in UIFont.FontNamesForFamilyName(family))
{
System.Diagnostics.Debug.WriteLine($"{names}");
}
}
@albilaga
albilaga / RepeaterView.cs
Created May 25, 2018 07:58
Repeater View for Xamarin Forms
using System;
using System.Collections;
using System.Collections.Specialized;
using Xamarin.Forms;
namespace Pradana.CustomControls
{
public class RepeaterView : StackLayout
{
@albilaga
albilaga / HorizontalListView.cs
Created May 10, 2018 06:13
Horizontal List View for xamarin forms
using System;
using System.Collections;
using System.Collections.Specialized;
using Xamarin.Forms;
namespace Pradana.CustomControls
{
public delegate void RepeaterViewItemAddedEventHandler(object sender, RepeaterViewItemAddedEventArgs args);
public class HorizontalListView : ScrollView, IDisposable
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
// you can also use other imports, for example:
// using System.Collections.Generic;
// you can write to stdout for debugging purposes, e.g.
// Console.WriteLine("this is a debug message");