Display items in RecyclerViews with GridLayoutManager
Admobadapter version or commit: 1.4.6
Android compileSdkVersion: 27
Issue description briefly:
When I used Express ads in RecyclerView with GridLayoutManager I follow code below
rvMessages.setAdapter(adapterWrapper);
GridLayoutManager mLayoutManager = new GridLayoutManager(this, 2);
mLayoutManager.setSpanSizeLookup(new GridLayoutManager.SpanSizeLookup() {
@Override
public int getSpanSize(int position) {
//set span 2 for ad block, otherwise 1
if(adapterWrapper.getItemViewType(position) == adapterWrapper.getViewTypeAdExpress())
return 2;
else return 1;
}
});
rvMessages.setLayoutManager(mLayoutManager);
Now I migrate to Advanced ads but didnt find any code for this operation. How to use adapterWrapper with Advanced ads in RecyclerView with GridLayoutManager? Thanks
@shtil Sorry this feature hasn't been supported yet for Advanced ads! But it is totally in schedule.