Esempio n. 1
0
 protected void SetupLeakCanary()
 {
     if (LeakCanaryXamarin.IsInAnalyzerProcess(this))
     {
         return;
     }
     _refWatcher = LeakCanaryXamarin.Install(this);
 }
Esempio n. 2
0
 protected void SetupLeakCanary()
 {
     if (LeakCanaryXamarin.IsInAnalyzerProcess(this))
     {
         // This process is dedicated to LeakCanary for heap analysis.
         // You should not init your app in this process.
         return;
     }
     _refWatcher = LeakCanaryXamarin.Install(this);
 }
Esempio n. 3
0
 public override void OnCreate()
 {
     base.OnCreate();
     LeakCanaryXamarin.Install(this);
     Stetho.InitializeWithDefaults(this);
 }