title: how to get facebook NativeAdsManager ad click listener in android
body: <p>i using facebook ad network for displaying native ads its working fine. So how to implement the event listener for loaded, clicked, error. So i just stuck on that implementation so can any one help me how to do.</p>
  
  <pre><code>listNativeAdsManager = new NativeAdsManager(activity, "mykey", 5)
          listNativeAdsManager.setListener(new NativeAdsManager.Listener() {
              @Override
              public void onAdsLoaded() {
                  com.facebook.ads.NativeAd fbNative = listNativeAdsManager.nextNativeAd();
                  fbNative.setAdListener(new AdListener() {
                      @Override
                      public void onError(Ad ad, AdError adError) {
                          Log.d("fb-native","onError ");
                      }
  
                      @Override
                      public void onAdLoaded(Ad ad) {
                          Log.d("fb-native","onAdLoaded ");
                      }
  
                      @Override
                      public void onAdClicked(Ad ad) {
                          Log.d("fb-native","onAdClicked ");
                      }
                  });
                  View adView = NativeAdView.render(getActivity(), fbNative, NativeAdView.Type.HEIGHT_100);
                  html_view.addView(adView);
              }
  
              @Override
              public void onAdError(AdError adError) {
  
              }
          });
  </code></pre>
  
  <p>this is how i implemented but i didn't get any call back from <code>onAdLoaded</code>, <code>onAdClicked</code> so what i have to change</p>