bdlukaa/native_admob_flutter

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

Offen

#107 geöffnet am 07.10.2021

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Dart (57 Forks)github user discovery
bughelp wanted

Repository-Metriken

Stars
 (81 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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.

Contributor Guide