protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); // Set our view from the "main" layout resource SetContentView(Resource.Layout.Main); SugarContext.Init(this); // System.Console.WriteLine(TAG+ "google app id: " + GetString(Resource.String.common_google_play_services_notification_channel_name)); Firebase.FirebaseApp.InitializeApp(this); // Get our button from the layout resource, // and attach an event to it cc = CometChat.GetInstance(this.ApplicationContext); setUpFields(); }
public override void OnCreate() { base.OnCreate(); SugarContext.Init(this); }