Ooui-tws-port/Samples/RefreshListViewSample.cs

23 lines
502 B
C#
Raw Normal View History

using Ooui;
using Xamarin.Forms;
namespace Samples
{
public class RefreshListViewSample : ISample
{
public string Title => "Xamarin.Forms RefreshListView";
2018-09-02 04:56:35 +00:00
public string Path => "/refreshlistview";
public Ooui.Element CreateElement ()
{
var page = new RefreshListView();
return page.GetOouiElement ();
}
public void Publish ()
{
2023-03-17 08:08:32 +00:00
PageExtensions.Ui.Publish (Path, CreateElement);
}
}
}