예제 #1
0
 public static void Ad_AdmobNative(Activity context)
 {
     try
     {
         if (AppSettings.ShowAdMobNative)
         {
             AdmobNative ads = new AdmobNative();
             ads.ShowAd(context);
         }
     }
     catch (Exception exception)
     {
         Console.WriteLine(exception);
     }
 }
예제 #2
0
 public static void Ad_Native(Context context)
 {
     try
     {
         if (Settings.Show_ADMOB_Native)
         {
             if (Count_Native == Settings.Show_ADMOB_Native_Count)
             {
                 Count_Native = 0;
                 AdmobNative ads = new AdmobNative();
                 ads.ShowAd(context);
             }
             Count_Native++;
         }
     }
     catch (Exception exception)
     {
         Crashes.TrackError(exception);
     }
 }