FirebaseUI-Android icon indicating copy to clipboard operation
FirebaseUI-Android copied to clipboard

enabling native ads within FirebaseRecyclerView adapter

Open mahmoudelfeel opened this issue 10 years ago • 1 comments

is there a way to put native ads every like 10 posts withing the adpater i tried but i failed

mahmoudelfeel avatar Oct 17 '16 12:10 mahmoudelfeel

@mahmoudelfeel this is not a feature of the library and it's something you'd have to implement yourself. Try overriding getItem() and getItemCount() to insert a custom element for every ~10th item.

samtstern avatar Oct 17 '16 13:10 samtstern