Since we can order by priority, it sure would be nice to be able to set priorities with FirebaseSharp. And now we can! var root = app.Child("/");   // now update the priorites root.Child("aaa").SetWithPriority("{}", 3); root.Child("bbb").SetWithPriority("{}", 2); root.Child("ccc").SetWithPriority("{}", 1) var root = app.Child("/"); // now update the priorites root.Child("aaa").SetWithPriority("{}", 3); root.Child("bbb").SetWithPriority("{}", 2); root.Child("ccc").SetWithPriority("{}", 1) In […]

Data Snapshots When a On or Once callback is fired the callback is provided a snapshot of the data returned from the query. The Firebase docs for data snapshots show the various properties and functions. You can get the current key, create a new query ref from the current location, get the snapshot value (i.e.,JSON), […]

Using Firebase you can provide a priority for a data item. The JSON would look like this: { ‘item1’: { ‘data’: ‘foo’, ‘.priority’: 1 }, ‘item2’: { ‘data’: ‘bar’, ‘.priority’: 3 }, ‘item3’: { ‘data’: ‘baz’, ‘.priority’: 2 }, }{ ‘item1’: { ‘data’: ‘foo’, ‘.priority’: 1 }, ‘item2’: { ‘data’: ‘bar’, ‘.priority’: 3 }, ‘item3’: […]