bdlukaa/native_admob_flutter

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

开放

#107 创建于 2021年10月7日

 (1 条评论) (0 个反应) (0 位负责人)Dart (57 个派生)github user discovery
bughelp wanted

仓库指标

星标
 (81 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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.

贡献者指南