Skip to content

Instantly share code, notes, and snippets.

💭
🎶 You can roam the world with colours, flying high 🎶

Luis Beltran icebeam7

💭
🎶 You can roam the world with colours, flying high 🎶
Block or report user

Report or block icebeam7

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@icebeam7
icebeam7 / ProductView.xaml.cs
Created Dec 30, 2019
eliteKit: ProductView.xaml.cs (parcial)
View ProductView.xaml.cs
protected override void OnAppearing()
{
base.OnAppearing();
badge.BadgeView = new Image()
{
Source = ImageSource.FromResource("DemoEliteKit.Images.box.png"),
HeightRequest = 50,
WidthRequest = 50
};
@icebeam7
icebeam7 / App.xaml.cs
Created Dec 30, 2019
eliteKit: App.xaml.cs
View App.xaml.cs
using Xamarin.Forms;
namespace DemoEliteKit
{
public partial class App : Application
{
public App()
{
InitializeComponent();
@icebeam7
icebeam7 / ProductView.xaml
Created Dec 30, 2019
eliteKit: ProductView.xaml
View ProductView.xaml
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:d="http://xamarin.com/schemas/2014/forms/design"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:ek="clr-namespace:eliteKit.eliteElements;assembly=eliteKit"
xmlns:converters="clr-namespace:DemoEliteKit.Converters"
xmlns:vm="clr-namespace:DemoEliteKit.ViewModels"
x:Class="DemoEliteKit.Views.ProductView"
mc:Ignorable="d">
@icebeam7
icebeam7 / ProductViewModel.cs
Created Dec 30, 2019
eliteKit: ProductViewModel.cs
View ProductViewModel.cs
using System.Windows.Input;
using System.Threading.Tasks;
using Xamarin.Forms;
using Acr.UserDialogs;
namespace DemoEliteKit.ViewModels
{
public class ProductViewModel : BaseViewModel
@icebeam7
icebeam7 / ProductView.xaml.cs
Last active Dec 30, 2019
eliteKit: ProductView.xaml.cs
View ProductView.xaml.cs
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace DemoEliteKit.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class ProductView : ContentPage
{
public ProductView()
{
@icebeam7
icebeam7 / BaseViewModel.cs
Created Dec 30, 2019
eliteKit: BaseViewModel.cs
View BaseViewModel.cs
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace DemoEliteKit.ViewModels
{
public class BaseViewModel : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
protected void OnPropertyChanged([CallerMemberName] string propertyName = "")
@icebeam7
icebeam7 / InverseBoolConverter.cs
Created Dec 30, 2019
eliteKit: InverseBoolConverter.cs
View InverseBoolConverter.cs
using System;
using Xamarin.Forms;
namespace DemoEliteKit.Converters
{
public class InverseBoolConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
{
@icebeam7
icebeam7 / App.xaml
Created Dec 30, 2019
eliteKit: App.xaml
View App.xaml
<?xml version="1.0" encoding="utf-8" ?>
<Application xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:d="http://xamarin.com/schemas/2014/forms/design"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:ek="clr-namespace:eliteKit.eliteElements;assembly=eliteKit"
mc:Ignorable="d"
x:Class="DemoEliteKit.App">
<Application.Resources>
<ResourceDictionary>
@icebeam7
icebeam7 / MonkeyView.xaml
Last active Dec 21, 2019
MyCustomPicker: MonkeyView.xaml
View MonkeyView.xaml
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:d="http://xamarin.com/schemas/2014/forms/design"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:vm="clr-namespace:MyCustomPicker.ViewModels"
xmlns:controls="clr-namespace:MyCustomPicker.Controls"
mc:Ignorable="d"
x:Class="MyCustomPicker.Views.MonkeyView">
@icebeam7
icebeam7 / App.xaml
Created Dec 21, 2019
MyCustomPicker: App.xaml
View App.xaml
<?xml version="1.0" encoding="utf-8" ?>
<Application xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:d="http://xamarin.com/schemas/2014/forms/design"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
x:Class="MyCustomPicker.App">
<Application.Resources>
<ResourceDictionary>
<OnPlatform x:TypeArguments="x:String" x:Key="Pacifico">
You can’t perform that action at this time.