protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); // Set our view from the "main" layout resource SetContentView(Resource.Layout.Main); ABBI.Start("YOUR_APPKEY", "YOUR_SECRET", this.Application); // Get our button from the layout resource, // and attach an event to it Button button = FindViewById <Button>(Resource.Id.myButton); button.Click += delegate { button.Text = $"{count++} clicks!"; }; }
public override void ViewDidLoad() { base.ViewDidLoad(); ABBI.Start("ebbc472f-f33f-4ff3-88a1-78acbf18c514", "Z0VIa2cwMTZSV1dPU1VNT1FJZ3hhT3ArdEh6YzBPZ2lqQk9IaFB5VjdEd0Y2MzBjbXdLQktBL1ZkekpnUDNUY29B"); }