summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Pages/IDataSource.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Pages/IDataSource.cs')
-rw-r--r--Xamarin.Forms.Pages/IDataSource.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/Xamarin.Forms.Pages/IDataSource.cs b/Xamarin.Forms.Pages/IDataSource.cs
new file mode 100644
index 00000000..a00e7f1c
--- /dev/null
+++ b/Xamarin.Forms.Pages/IDataSource.cs
@@ -0,0 +1,18 @@
+using System.Collections.Generic;
+
+namespace Xamarin.Forms.Pages
+{
+ public interface IDataSource
+ {
+ IReadOnlyList<IDataItem> Data { get; }
+
+ bool IsLoading { get; }
+
+ object this[string key] { get; set; }
+
+ IEnumerable<string> MaskedKeys { get; }
+
+ void MaskKey(string key);
+ void UnmaskKey(string key);
+ }
+} \ No newline at end of file