I`m using Sorted list mechanics inside adapter. If I add new native express as object things become a bit complicated. I`curios is there an elegant way of using both SortedList and Native Express inside recyclerview adapters.
Deepika Uragayala- MobileAds SDK team
unread,
May 10, 2017, 4:53:28 PM5/10/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Mobile Ads SDK Developers
Hi Sergey,
The SortedList should be pretty straightforward. The only logic that you should have to consider is to whether to use the existing AdView item or add a new item. You can return false to areItemsSame() and then add the new AdView. While we do not have a sample app for SortedList, you can reuse the RecyclerView example to implement this.