Skip to content

Instantly share code, notes, and snippets.

View GlodenBoy's full-sized avatar
💭
I may be slow to respond.

Ninety GlodenBoy

💭
I may be slow to respond.
View GitHub Profile
@walterlv
walterlv / AsyncBox.cs
Last active August 8, 2022 07:38
A UI container for async loading.
using System;
using System.Collections;
using System.ComponentModel;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Threading;
using Walterlv.Demo;
@anotherlab
anotherlab / SysProp.cs
Created February 8, 2019 20:41
Xamarin C# code to access system properties via Android's hidden SystemProperties class
using System;
namespace Os.Properties
{
// Get access to the hidden SDK class SystemProperties. The SystemProperties
// class provides access to the System Properties store. This store contains
// a list of key-value pairs
// See https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/os/SystemProperties.java
public static class SysProp
{