[fenix] For https://github.com/mozilla-mobile/fenix/issues/11177 - Load all share targets in the horizontal share menu
This was previously regressed by having the RecyclerViews for "recent" and "all" items put inside a HorizontalScrollView which would then prevent the RecyclerViews from actually scrolling, recycling, showing new items. As a quick solution that would keep the desired behavior the "all" items list is now a child of a RelativeLayout which will allow it to load all items at once and so all the share targets will be available to the user but which also means no recycling. The RecyclerView for the "recent" items uses a `RECENT_APPS_LIMIT = 6` so this does not need the same "fix" as all the items would fit the screen without any issue.pull/600/head
parent
10f6480072
commit
8d97c9d093
Loading…
Reference in New Issue