25 lines
500 B
C#
25 lines
500 B
C#
|
using Ooui;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Text;
|
|||
|
using Xamarin.Forms;
|
|||
|
|
|||
|
namespace Samples
|
|||
|
{
|
|||
|
public class MonkeysSample : ISample
|
|||
|
{
|
|||
|
public string Title => "Xamarin.Forms Monkeys";
|
|||
|
|
|||
|
public Ooui.Element CreateElement()
|
|||
|
{
|
|||
|
var page = new Monkeys.Views.MonkeysView();
|
|||
|
return page.GetOouiElement();
|
|||
|
}
|
|||
|
|
|||
|
public void Publish()
|
|||
|
{
|
|||
|
UI.Publish("/monkeys", CreateElement);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|