bdlukaa/native_admob_flutter

Felt Jank while Scrolling in ListView or Gridview when ads are inline !

Aperta

#107 aperta il 7 ott 2021

 (1 commento) (0 reazioni) (0 assegnatari)Dart (57 fork)github user discovery
bughelp wanted

Metriche repository

Star
 (81 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Plus Point = Way more better performance than google_mobile_ads 0.13.5,

Small Description about the issues

I am calling 15 images from API

empytList = []

and adding in list view like this

for (int i = 0; i < data.length; i++) { empytList .add(data[i].imageUrl); if (i == 7) { empytList .add( BannerAd( unitId: AdsHelper.bannerTestAdUnitId, ), ); } }

works very well no issue at all but when i scroll down and calling the same logic of adding more images in list view and one bannerAd at index 7 for a second it just give frame drop after the ads load it again works smooth like a butter.

Guida contributor