I' use Xamarin.Forms and I just want to query. but I keep seeing this error that 'An unhandled exception occured.'
Do not you use this plugin on Xamarin.Forms?
async private void Load_Clicked(object sender, EventArgs e)
{
await LoadData();
}
public class FirebaseMemo
{
public string Memo { get; set; }
}
private async Task LoadData()
{
var firebase = new FirebaseClient("https://xamarinproject-176e8.firebaseio.com/");
var items = await firebase
.Child("Memovalue")
.OnceAsync<FirebaseMemo>();
foreach (var item in items)
{
FirebaseMemo Acc = new FirebaseMemo();
Acc.Memo = item.Object.Memo;
TextLabel.Text = Acc.Memo;
}
}
I' use Xamarin.Forms and I just want to query. but I keep seeing this error that 'An unhandled exception occured.' Do not you use this plugin on Xamarin.Forms?