bdlukaa/native_admob_flutter

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

Open

#107 opened on Oct 7, 2021

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Dart (57 forks)github user discovery
bughelp wanted

Repository metrics

Stars
 (81 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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