Skip to content

Instantly share code, notes, and snippets.

View winstongubantes's full-sized avatar

Winston Gubantes winstongubantes

View GitHub Profile
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using ConversationApp.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConversationApp.Models
{
public class Message
{
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ConversationApp.Models;
using Microsoft.WindowsAzure.MobileServices;
using Microsoft.WindowsAzure.MobileServices.SQLiteStore;
<?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:local="clr-namespace:CustomPopupDialog"
xmlns:views="clr-namespace:CustomPopupDialog.Views;assembly=CustomPopupDialog"
x:Class="CustomPopupDialog.MainPage"
Title="Custom Dialog Test">
<ContentPage.Content>
<Grid>
<Button VerticalOptions="End" x:Name="BtnShowDialog" Text="ShowDialog"></Button>
CalendarWebView.RegisterLocalCallback("selectdate", (str) =>
{
DisplayAlert("Selected Date", str, "OK");
});
csharp("{'action': 'selectdate', 'data': '" + text +"'}");