title: Amob integration in adapter class issue
body: <p>I want to integrate admob in adapter class but it is giving me following error. I also put context but still the problem is there. Please let me know what should I put instead of context? I have searched but I did not found any solution. The context is already in the interstitial show method with mCTX which is context in adapter class.</p>
  <pre><code>public class CategoriesAdapter extends RecyclerView.Adapter&lt;CategoriesAdapter.CategoryViewHolder&gt; {
      private Context mCtx;
      public Context ct;
      private final List&lt;Category&gt; categoryList;
      private InterstitialAd mInterstitialAd;
      public CategoriesAdapter(Context mCt, List&lt;Category&gt; categoryList) {
          this.mCtx = mCt;
          this.ct=mCt;
          this.categoryList = categoryList;
          AdRequest adRequest = new AdRequest.Builder().build();
          MobileAds.initialize(mCtx, new OnInitializationCompleteListener() {
              @Override
              public void onInitializationComplete(InitializationStatus initializationStatus) {
              }
          });
          InterstitialAd.load(mCtx,
                  &quot;ca-app-pub-3940256099942544/1033173712&quot;,
                  adRequest,
                  new InterstitialAdLoadCallback() {
                      @Override
                      public void onAdLoaded(@NonNull InterstitialAd interstitialAd) {
                          // The mInterstitialAd reference will be null until
                          // an ad is loaded.
                          mInterstitialAd = interstitialAd;
                          Log.i(&quot;TAG&quot;, &quot;onAdLoaded&quot;);
                      }
                     @Override
                      public void onAdFailedToLoad(@NonNull LoadAdError loadAdError) {
                          // Handle the error
                          // Log.i(TAG, loadAdError.getMessage());
                          mInterstitialAd = null;
                      }
                  });
      }
      @Override
      public CategoryViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
          View view = LayoutInflater.from(mCtx).inflate(R.layout.category_item, parent, false);
  
          return new CategoryViewHolder(view);
      }
      @Override
      public void onBindViewHolder(CategoryViewHolder holder, int position) {
          Category c = categoryList.get(position);
          holder.textView.setText(c.name);
          Picasso.with(mCtx).load(c.thumb).into(holder.imageView);
  }
      @Override
      public int getItemCount() {
          return categoryList.size();
      }
     class CategoryViewHolder extends RecyclerView.ViewHolder implements View.OnClickListener {
          TextView textView;
          ImageView imageView;
          RelativeLayout relativeLayout;
          public CategoryViewHolder(View itemView) {
              super(itemView);
              textView = itemView.findViewById(R.id.text_view_cat_name);
              imageView = itemView.findViewById(R.id.image_view);
              itemView.setOnClickListener(this);
          }
          @Override
          public void onClick(View view) {
              int p = getAdapterPosition();
              Category c = categoryList.get(p);
  
              Intent intent = new Intent(mCtx, QuotesActivity.class);
              intent.putExtra(&quot;category&quot;, c.name);
  
              mCtx.startActivity(intent);
          }
      }
  public void fullscads()
      {        if (mInterstitialAd != null) {
              mInterstitialAd.show(mCtx);
          } else {
              Log.d(&quot;TAG&quot;, &quot;The interstitial ad wasn't ready yet.&quot;);
          }
      }
  }
  </code></pre>
  <p><a href="https://i.stack.imgur.com/KzY0N.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KzY0N.png" alt="enter image description here" /></a></p>